import maya.cmds as mc
import maya.mel as mel
import string
def initPalette( Palette ):
    if mc.palettePort( Palette, ex=1 ):
        for i in range(1, 32):
            tmp = mc.colorIndex( i, q=1 )
            if i < 24:
                mc.palettePort( Palette, e=1, r=1, rgb=(i-1,tmp[0],tmp[1],tmp[2]) )
            else:
                mc.palettePort( Palette, e=1, r=1, rgb=(i,tmp[0],tmp[1],tmp[2]) )


def colorOverRide():
    ctrColor = mc.palettePort( 'colorPaletteControl', q=1, scc=1 ) + 1
    if ctrColor > 23: ctrColor -= 1
    if ctrColor == 23: ctrColor = 18
    sel = mc.ls(sl=1)
    if len(sel):
        for obj in sel:
            objShapes = mc.listRelatives( obj, f=1, s=1 )
            if objShapes == None:
                mc.setAttr( obj + ".ove", 1 )
                mc.setAttr( obj + ".ovc", ctrColor )
            else:
                if mc.objectType( obj ) != 'transform':
                    mc.setAttr( obj + ".ove", 1 )
                    mc.setAttr( obj + ".ovc", ctrColor )
                for shape in objShapes:
                    mc.setAttr( shape + ".ove", 1 )
                    mc.setAttr( shape + ".ovc", ctrColor )
    else:
        mc.error( "select nothing u dick head!!!" ) 
        
        
def stringReplace( str, oldChar, newChar ):
    return string.join( string.split( str, oldChar ), newChar )
    

def whereIs( flag ):
    if flag == "icon":
        return stringReplace( mc.internalVar( ubd=1 ), "/", "//" )
    elif flag == "script":
        return stringReplace( mc.internalVar( userScriptDir=1 ), "/", "//" )
    else:
        mc.error( "wrong flag!!" )
        
def addShape( ctrName, shapeName, ctrColor ):
    shapeNode = mc.createNode( 'nurbsCurve', n=ctrName + 'Shape', p=ctrName )    
    if shapeName == "A00_root":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 86 0 no 3
		91 24 24 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
		 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
		 72 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
		 98 99 100 101 102 103 104 105 106 107 108 108 108
		89
		5.6372189948904288e-018 -1.0939283115096937e-016 0.49266151360850913
		0.020917547984673063 -1.6620345333128793e-016 0.44089519350004847
		0.062752643954019166 -1.2289670997919906e-016 0.47665365339811921
		0.12443157277166539 -1.3693897588119885e-016 0.46438495164955984
		0.18398144288023877 -1.486381779392144e-016 0.44417049462644381
		0.24038333949183854 -1.5779413956240154e-016 0.41635615729294279
		0.29267221051788012 -1.6425019970887539e-016 0.3814178506724244
		0.33995337887789417 -1.6789589339957174e-016 0.33995337887789429
		0.38141785067242429 -1.6866884180466553e-016 0.29267221051788034
		0.41635615729294256 -1.6655581956264373e-016 0.24038333949183865
		0.44417049462644353 -1.6159298106990795e-016 0.18398144288023899
		0.46438495164955956 -1.5386524186902753e-016 0.1244315727716656
		0.47665365339811894 -1.4350482572026369e-016 0.062752643954019471
		0.42301596355101312 -2.3482103125916538e-016 -5.1804514575098179e-017
		0.47665365339811905 -1.15637053650721e-016 -0.062752643954019097
		0.46438495164955979 -9.8606523036458115e-017 -0.12443157277166531
		0.44417049462644348 -7.9888807474148247e-017 -0.1839814428802386
		0.41635615729294267 -5.9804172266593814e-017 -0.24038333949183852
		0.38141785067242434 -3.8696271090708915e-017 -0.29267221051787995
		0.33995337887789417 -1.6926265987828752e-017 -0.33995337887789395
		0.29267221051788023 5.1333522189506487e-018 -0.38141785067242401
		0.2403833394918386 2.7105137346029733e-017 -0.4163561572929424
		0.18398144288023904 4.8613146058154319e-017 -0.4441704946264432
		0.12443157277166562 6.9289370363113627e-017 -0.46438495164955951
		0.062752643954019638 8.8780034330517012e-017 -0.47665365339811827
		-4.8403083232650666e-018 1.8785682500733235e-016 -0.42301596355101323
		-0.062752643954019333 1.228967099791992e-016 -0.47665365339811966
		-0.1244315727716656 1.3693897588119895e-016 -0.46438495164956012
		-0.18398144288023904 1.4863817793921457e-016 -0.44417049462644415
		-0.24038333949183893 1.5779413956240174e-016 -0.41635615729294317
		-0.29267221051788039 1.6425019970887549e-016 -0.38141785067242451
		-0.33995337887789456 1.6789589339957191e-016 -0.33995337887789451
		-0.38141785067242456 1.686688418046656e-016 -0.29267221051788039
		-0.41635615729294301 1.6655581956264386e-016 -0.24038333949183871
		-0.44417049462644392 1.6159298106990804e-016 -0.18398144288023904
		-0.4643849516495599 1.538652418690276e-016 -0.12443157277166554
		-0.47665365339811927 1.4350482572026371e-016 -0.062752643954019319
		-0.42301596355101312 2.3482103125916533e-016 5.1804514575098204e-017
		-0.47665365339811927 1.15637053650721e-016 0.062752643954019291
		-0.4643849516495599 9.8606523036458078e-017 0.12443157277166553
		-0.44417049462644403 7.9888807474148321e-017 0.18398144288023899
		-0.41635615729294273 5.9804172266593777e-017 0.24038333949183877
		-0.38141785067242456 3.8696271090708927e-017 0.29267221051788028
		-0.3399533788778944 1.6926265987828715e-017 0.3399533788778944
		-0.29267221051788045 -5.1333522189506734e-018 0.3814178506724244
		-0.24038333949183871 -2.7105137346029807e-017 0.4163561572929429
		-0.1839814428802391 -4.8613146058154405e-017 0.44417049462644365
		-0.12443157277166562 -6.9289370363113688e-017 0.46438495164955979
		-0.062752643954019444 -8.8780034330517284e-017 0.47665365339811927
		-0.020917547984673143 -1.5483122811506064e-016 0.44089519350004847
		5.6372189948904288e-018 -1.0939283115096934e-016 0.49266151360850902
		-0.029088670366071101 -1.0311499633643559e-016 0.49999999999999961
		-0.087266011098213053 -8.6170208622581845e-017 0.49491014221185231
		-0.17188048860793911 -5.8134788867033612e-017 0.47223776129513989
		-0.25127246444703683 -2.8332972969383101e-017 0.43521667496531186
		-0.32302965360391334 2.3297259747659178e-018 0.38497175019692703
		-0.38497175019692703 3.2921637374070055e-017 0.32302965360391322
		-0.43521667496531197 6.2513241480915253e-017 0.25127246444703671
		-0.47223776129514 9.020541237858949e-017 0.17188048860793897
		-0.49491014221185259 1.151567374672814e-016 0.087266011098212942
		-0.50254492889407354 1.3660908336015072e-016 -4.2194804278381375e-017
		-0.49491014221185259 1.539106313826536e-016 -0.087266011098213025
		-0.47223776129514011 1.6653568275313188e-016 -0.17188048860793911
		-0.43521667496531213 1.7410063167427786e-016 -0.25127246444703683
		-0.38497175019692703 1.7637562100117137e-016 -0.32302965360391328
		-0.32302965360391356 1.7329152633431508e-016 -0.38497175019692731
		-0.25127246444703677 1.6494205632953384e-016 -0.43521667496531208
		-0.17188048860793903 1.5158090540788763e-016 -0.47223776129514017
		-0.08726601109821297 1.3361404537906184e-016 -0.49491014221185259
		3.5430034022649049e-017 1.1158739019336263e-016 -0.50254492889407409
		0.087266011098212984 8.6170208622581599e-017 -0.49491014221185109
		0.17188048860793884 5.8134788867033588e-017 -0.47223776129513939
		0.25127246444703655 2.8332972969383077e-017 -0.43521667496531147
		0.323029653603913 -2.3297259747659424e-018 -0.38497175019692648
		0.38497175019692648 -3.2921637374069957e-017 -0.32302965360391295
		0.43521667496531163 -6.2513241480915216e-017 -0.25127246444703649
		0.47223776129513939 -9.0205412378589367e-017 -0.17188048860793878
		0.49491014221185209 -1.1515673746728128e-016 -0.087266011098212845
		0.5025449288940731 -1.3660908336015059e-016 4.9701997686675462e-017
		0.49491014221185198 -1.5391063138265338e-016 0.087266011098212901
		0.47223776129513956 -1.6653568275313166e-016 0.17188048860793892
		0.43521667496531169 -1.7410063167427769e-016 0.25127246444703655
		0.38497175019692664 -1.763756210011712e-016 0.32302965360391311
		0.32302965360391317 -1.7329152633431483e-016 0.38497175019692664
		0.25127246444703655 -1.6494205632953374e-016 0.4352166749653118
		0.17188048860793884 -1.5158090540788746e-016 0.47223776129513967
		0.08726601109821279 -1.3361404537906172e-016 0.49491014221185231
		0.029088670366070862 -1.1892960858859552e-016 0.49999999999999961
		5.6372189948904288e-018 -1.0939283115096939e-016 0.49266151360850924
		;'''
        mel.eval( code )
    elif shapeName == "A01_root":
        code = '''setAttr -s 6 ".iog[0].og";
        setAttr ".iog[0].og[2].gcl" -type "componentList" 2 "cv[0]" "cv[3]";
        setAttr ".iog[0].og[3].gcl" -type "componentList" 1 "cv[*]";
        setAttr ".iog[0].og[4].gcl" -type "componentList" 2 "cv[9]" "cv[12]";
        setAttr ".iog[0].og[5].gcl" -type "componentList" 2 "cv[18]" "cv[21]";
        setAttr ".iog[0].og[6].gcl" -type "componentList" 2 "cv[27]" "cv[30]";
        setAttr ".iog[0].og[7].gcl" -type "componentList" 8 "cv[0]" "cv[3]" "cv[9]" "cv[12]" "cv[18]" "cv[21]" "cv[27]" "cv[30]";
        setAttr ".cc" -type "nurbsCurve" 
        3 36 2 no 3
        41 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
        26 27 28 29 30 31 32 33 34 35 36 37 38
        39
        0.26590539008564418 1.4779437686218987e-016 -0.3407266604924139
        0.063360378308011348 1.1255064135442323e-016 -0.50694196810391534
        -0.063360378308011348 1.1255064135442323e-016 -0.50694196810391534
        -0.26856503249050229 -2.3366169464165636e-017 -0.34076162854215963
        -0.1267207566160227 9.8481811185120326e-017 -0.44358158979590395
        -0.1267207566160227 4.2206490507908713e-017 -0.19014007656385856
        -0.1267207566160227 2.8137660338605807e-017 -0.1267796982558472
        -0.19008113492403406 2.8137660338605813e-017 -0.1267796982558472
        -0.44352264815607945 2.8137660338605813e-017 -0.1267796982558472
        -0.34067389807628845 7.2695672985822065e-017 -0.26319133549733092
        -0.50688302646409078 1.40688301693029e-017 -0.063419319947835867
        -0.50688302646409078 -1.40688301693029e-017 0.063301436668186828
        -0.34067389807628845 -4.4156076739155123e-017 0.26306216102166669
        -0.44352264815607945 -2.81376603386058e-017 0.12666181497619819
        -0.19008113492403406 -2.81376603386058e-017 0.12666181497619819
        -0.1267207566160227 -2.8137660338605807e-017 0.12666181497619819
        -0.1267207566160227 -4.2206490507908707e-017 0.19002219328420952
        -0.1267207566160227 -9.8481811185120326e-017 0.44346370651625494
        -0.26312674825949878 -6.13750029832864e-017 0.34060931083845641
        -0.063360378308011348 -1.1255064135442323e-016 0.50682408482426622
        0.063360378308011348 -1.1255064135442323e-016 0.50682408482426622
        0.26312674825949878 -6.1375002983286363e-017 0.34060931083845641
        0.1267207566160227 -9.8481811185120326e-017 0.44346370651625494
        0.1267207566160227 -4.2206490507908713e-017 0.19002219328420952
        0.1267207566160227 -2.8137660338605807e-017 0.12666181497619819
        0.19008113492403406 -2.8137660338605813e-017 0.12666181497619819
        0.44352264815607945 -2.8137660338605813e-017 0.12666181497619819
        0.34067389807628845 -4.4156076739155123e-017 0.26306216102166669
        0.50688302646409078 -1.40688301693029e-017 0.063301436668186828
        0.50688302646409078 1.40688301693029e-017 -0.063419319947835867
        0.34067389807628845 7.2695672985822077e-017 -0.26319133549733092
        0.44352264815607945 2.81376603386058e-017 -0.1267796982558472
        0.19008113492403406 2.81376603386058e-017 -0.1267796982558472
        0.1267207566160227 2.8137660338605807e-017 -0.1267796982558472
        0.1267207566160227 4.2206490507908707e-017 -0.19014007656385856
        0.1267207566160227 9.8481811185120326e-017 -0.44358158979590395
        0.26590539008564418 1.4779437686218987e-016 -0.3407266604924139
        0.063360378308011348 1.1255064135442323e-016 -0.50694196810391534
        -0.063360378308011348 1.1255064135442323e-016 -0.50694196810391534;'''
        mel.eval( code )
    elif shapeName == "A02_root":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 58 1 no 3
		63 24 24 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
		 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
		 72 72 73 74 75 76 77 78 79 80 80 80
		61
		-1.3880587338471841e-016 -1.6181075041416452e-032 0.50010086372180329
		-0.060915325653479173 -1.9990802538760226e-016 0.36133665872338538
		-0.18274597696043768 -8.7866439816800254e-017 0.27980917634353986
		-0.18274597696043768 -8.7866439816800254e-017 0.27980917634353986
		-0.18274597696043768 -8.7866439816800254e-017 0.27980917634353986
		-0.099550688744737201 -6.631408005701982e-017 0.19910137748947451
		-0.099550688744737215 -2.2104693352339936e-017 0.099550688744737242
		-0.099550688744737215 -2.2104693352339942e-017 0.09955068874473727
		-0.099550688744737229 -2.2104693352339942e-017 0.09955068874473727
		-0.19910137748947446 0 0.099550688744737284
		-0.27980917634353974 -1.48414364546187e-017 0.18274597696043779
		-0.27980917634353974 -1.48414364546187e-017 0.18274597696043779
		-0.27980917634353974 -1.4841436454618715e-017 0.18274597696043779
		-0.56170523710667219 1.3120520071533112e-016 1.7063155945967511e-016
		-0.27980917634353986 1.4746959656865837e-016 -0.18274597696043768
		-0.27980917634353986 1.4746959656865837e-016 -0.18274597696043768
		-0.27980917634353986 1.4746959656865837e-016 -0.18274597696043768
		-0.19910137748947451 8.8418773409359755e-017 -0.099550688744737201
		-0.099550688744737242 6.6314080057019844e-017 -0.099550688744737215
		-0.09955068874473727 6.6314080057019832e-017 -0.099550688744737215
		-0.09955068874473727 6.631408005701982e-017 -0.099550688744737187
		-0.099550688744737284 1.105234667616997e-016 -0.19910137748947446
		-0.18274597696043779 1.6902195632843886e-016 -0.27980917634353969
		-0.18274597696043779 1.6902195632843886e-016 -0.27980917634353969
		-0.18274597696043779 1.6902195632843886e-016 -0.27980917634353969
		-1.2472361745767204e-016 2.5592881817300319e-016 -0.56170523710667208
		0.18274597696043768 8.7866439816800267e-017 -0.2798091763435398
		0.18274597696043768 8.7866439816800267e-017 -0.2798091763435398
		0.18274597696043768 8.7866439816800267e-017 -0.2798091763435398
		0.099550688744737201 6.6314080057019832e-017 -0.19910137748947451
		0.099550688744737215 2.2104693352339936e-017 -0.099550688744737242
		0.099550688744737215 2.2104693352339942e-017 -0.09955068874473727
		0.099550688744737187 2.2104693352339942e-017 -0.09955068874473727
		0.19910137748947446 -5.7775830315784305e-033 -0.099550688744737284
		0.27980917634353974 1.4841436454618734e-017 -0.18274597696043779
		0.27980917634353974 1.4841436454618715e-017 -0.18274597696043779
		0.27980917634353974 1.4841436454618715e-017 -0.18274597696043779
		0.56170523710667219 -1.3120520071533107e-016 -7.8815675455668967e-017
		0.27980917634353986 -1.4746959656865835e-016 0.18274597696043768
		0.27980917634353986 -1.4746959656865835e-016 0.18274597696043768
		0.27980917634353986 -1.4746959656865832e-016 0.18274597696043768
		0.19910137748947451 -8.8418773409359768e-017 0.099550688744737201
		0.099550688744737284 -6.6314080057019832e-017 0.099550688744737215
		0.09955068874473727 -6.631408005701982e-017 0.099550688744737215
		0.09955068874473727 -6.631408005701982e-017 0.099550688744737187
		0.099550688744737284 -1.105234667616997e-016 0.19910137748947446
		0.18274597696043779 -1.6902195632843883e-016 0.27980917634353974
		0.18274597696043779 -1.6902195632843883e-016 0.27980917634353974
		0.18274597696043779 -1.6902195632843883e-016 0.27980917634353974
		0.060915325653479339 -2.2695986422481515e-016 0.36133665872338538
		-1.3880587338471844e-016 -1.6181075041416454e-032 0.5001008637218034
		-0.13062828347684916 -7.9986754619018263e-018 0.50010086372180329
		-0.39188485043054705 -2.3996026385705442e-017 0.39188485043054699
		-0.55420887036743172 -3.3935505957727279e-017 -4.393485898092549e-017
		-0.3918848504305471 -2.3996026385705433e-017 -0.3918848504305471
		3.7536775754598633e-017 9.8336606272236594e-033 -0.55420887036743161
		0.39188485043054699 2.3996026385705439e-017 -0.39188485043054722
		0.55420887036743161 3.3935505957727279e-017 -1.8628769507825987e-016
		0.39188485043054699 2.3996026385705423e-017 0.39188485043054738
		0.13062828347684891 7.9986754619017955e-018 0.50010086372180351
		-1.1104469870777476e-016 -1.4640020275567272e-032 0.5001008637218034'''
        mel.eval( code )
    elif shapeName == "B00_FK_body":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 74 0 no 3
		79 -9 -9 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
		 17 18 19 20 21 22 23 24 25 26 27 27 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
		 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 63 63
		77
		-2.0281490162096881e-016 0.51517511099442759 9.4475036051746894e-005
		-0.0033569982992404488 0.51517511099442759 9.4475036051746894e-005
		-0.010070994897720946 0.514878695942945 -0.01733216983392151
		-0.010070994897721024 0.47034770493166667 -0.20950270102072119
		-0.01007099489772108 0.35652061905770882 -0.37061110160401217
		-0.010070994897721107 0.19026652155645049 -0.47678123526271082
		-0.010070994897721119 -0.0037758630766290577 -0.51227877296564461
		-0.010070994897721109 -0.19684960838211618 -0.47184300797009432
		-0.010070994897721092 -0.36034133947548408 -0.36146648836036377
		-0.010070994897721076 -0.47002171235714946 -0.19750692620675583
		-0.010070994897721067 -0.50963618334603222 -0.0042629976984223262
		-0.01007099489772108 -0.4733139194738098 0.1896267012653447
		-0.010070994897721107 -0.36643785124294931 0.35542787211940097
		-0.010070994897721163 -0.20484692662452381 0.46856891373572079
		-0.010070994897721243 -0.012488791616328097 0.51228241409010011
		-0.010070994897721335 0.18212923177175419 0.48009006733533011
		-0.01007099489772144 0.35016490787646537 0.37676275355481986
		-0.010070994897721544 0.46671548367588961 0.21761349814378705
		-0.010070994897721643 0.51450825690240354 0.026228093673167467
		-9.1744675947511083e-016 0.5151751109944267 9.4427473489344692e-005
		0.010070994897719832 0.51450825690240354 0.026228093673167467
		0.010070994897719931 0.46671548367588961 0.21761349814378705
		0.010070994897720037 0.35016490787646537 0.37676275355481986
		0.010070994897720143 0.18212923177175419 0.48009006733533011
		0.010070994897720235 -0.012488791616328097 0.51228241409010011
		0.010070994897720313 -0.20484692662452381 0.46856891373572079
		0.010070994897720368 -0.36643785124294931 0.35542787211940097
		0.010070994897720396 -0.4733139194738098 0.1896267012653447
		0.010070994897720408 -0.50963618334603222 -0.0042629976984223262
		0.0100709948977204 -0.47002171235714946 -0.19750692620675583
		0.010070994897720384 -0.36034133947548408 -0.36146648836036377
		0.010070994897720367 -0.19684960838211618 -0.47184300797009432
		0.010070994897720356 -0.0037758630766290577 -0.51227877296564461
		0.010070994897720368 0.19026652155645049 -0.47678123526271082
		0.010070994897720396 0.35652061905770882 -0.37061110160401217
		0.010070994897720453 0.47034770493166667 -0.20950270102072119
		0.01007099489772053 0.514878695942945 -0.01733216983392151
		0.0033569982992400441 0.51517511099442759 9.4475036051746894e-005
		-2.0228991428675321e-016 0.51517511099442759 9.4475036051746894e-005
		-2.1507334140175455e-016 0.51853210929366811 9.4475191851212277e-005
		-2.1018790333255895e-016 0.52494386510373481 -0.017674672380782845
		-2.8790101742901841e-016 0.47953766266976944 -0.21362212027612645
		-3.430251076573333e-016 0.36347342097453661 -0.37789694292367315
		-3.7396329400556137e-016 0.19395176795975463 -0.48615374278081103
		-3.8271746342625217e-016 -0.0039043227611421094 -0.52234894855196734
		-3.7458992525854315e-016 -0.20077273653177677 -0.48111845964380034
		-3.573955587146764e-016 -0.36747773163113789 -0.36857260158987443
		-3.4030127396937615e-016 -0.47931376089975108 -0.20139058068570401
		-3.324648501086112e-016 -0.51970681410128594 -0.0043486389341313627
		-3.4167495307782142e-016 -0.48267067300520483 0.19335176523562023
		-3.7319396715792776e-016 -0.37369406414851802 0.36241158978973792
		-4.2897521936678411e-016 -0.20892723394576063 0.47777630372388652
		-5.0737069145112923e-016 -0.012788495066358723 0.52234894855196734
		-6.0337262159263651e-016 0.18565454800491063 0.48952389390179574
		-7.0935327065911861e-016 0.35699279474202661 0.38416578666166262
		-8.1619329254982707e-016 0.47583405379245974 0.22188861419590827
		-1.9898056079492613e-015 0.52456614545990377 0.026741723885332472
		-1.9737828318377858e-015 0.51517511099442759 9.4427473489344692e-005
		-1.9811654258443875e-015 0.50445036834490564 0.025714463461004242
		-8.0956994669486802e-016 0.45759691355931903 0.21333838209166492
		-7.0513626673242477e-016 0.34333702101090396 0.36935972044797621
		-6.0152410711141413e-016 0.17860391553859772 0.47065624076886353
		-5.0750180568800872e-016 -0.01218908816629765 0.50221587962823278
		-4.3040372219911077e-016 -0.20076661930328712 0.45936152374755507
		-3.7504534650916866e-016 -0.35918163833738054 0.34844415444906407
		-3.4301202690900814e-016 -0.46395716594241471 0.18590163729507009
		-3.3242665604817361e-016 -0.49956555259077862 -0.0041773564627115081
		-3.3823066324912875e-016 -0.46072966381454811 -0.19362327172780763
		-3.5293658509252914e-016 -0.35320494731983038 -0.35436037513085133
		-3.6774059596735511e-016 -0.19292648023245548 -0.46256755629638829
		-3.7383003450033077e-016 -0.003647403392116182 -0.50220859737932189
		-3.6369206621765544e-016 0.18658127515314635 -0.46740872774460884
		-3.322294596665714e-016 0.34956781714088103 -0.36332526028435114
		-2.7751804654984231e-016 0.46115774719356389 -0.20538328176531592
		-2.010935484609963e-016 0.50481352678215519 -0.016989667287060171
		-2.1209172802658797e-016 0.5118181126951874 9.4474880254062963e-005
		-2.1358253471417126e-016 0.51517511099442759 9.4475036051746894e-005'''
        mel.eval( code )
    elif shapeName == "B01_FK_limb":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 20 1 no 3
		25 0 0 0 1 2 3 4 5 6 7 8 8 8 9 10 11 12 13 14 15 16 17 18 18 18
		23
		-7.7037197775489434e-034 0.5 1.3877787807814457e-017
		-7.9970622349807901e-018 0.5 0.13060193748187079
		-2.3991186704942356e-017 0.39180581244561213 0.39180581244561213
		-3.3928661615554567e-017 1.605634753618615e-016 0.55409709377719396
		-2.3991186704942363e-017 -0.39180581244561202 0.39180581244561224
		-1.0223367900542009e-032 -0.55409709377719407 1.6696026817952597e-016
		2.3991186704942341e-017 -0.39180581244561219 -0.39180581244561191
		3.3928661615554567e-017 -2.9760662996402926e-016 -0.55409709377719396
		2.3991186704942378e-017 0.39180581244561191 -0.39180581244561252
		7.9970622349807901e-018 0.49999999999999994 -0.13060193748187079
		7.7037197775489434e-034 0.5 -1.3877787807814457e-017
		-7.3856007617285674e-034 0.47161535780626163 1.3304715535371211e-017
		0 0.4177856327312105 0
		2.3000489623101293e-017 0.37607732836996949 -0.37562650127555369
		3.2527604366211463e-017 0.000450827094416151 -0.53121609249064194
		2.3000489623101256e-017 -0.37517567418113673 -0.37562650127555308
		-9.8012020081158456e-033 -0.5307652653962257 1.600657759435589e-016
		-2.3000489623101277e-017 -0.37517567418113662 0.37562650127555341
		-3.2527604366211463e-017 0.00045082709441658973 0.53121609249064194
		-2.3000489623101271e-017 0.37607732836996965 0.3756265012755533
		-7.3856007617285674e-034 0.4177856327312105 1.3304715535371211e-017
		-7.3856007617285674e-034 0.47161535780626163 1.3304715535371211e-017
		-7.7037197775489434e-034 0.5 1.3877787807814457e-017'''
        mel.eval( code )
    elif shapeName == "B02_FK_finger":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 8 2 no 3
		13 -2 -1 0 1 2 3 4 5 6 7 8 9 10
		11
		1.871981849540608e-017 0.4667727477199381 -0.30571783649685047
		-3.7990549347274899e-033 0.64275993689642075 6.2043275454972651e-017
		-1.8719818495406061e-017 0.46677274771993821 0.30571783649684997
		-2.2185363318579492e-017 0.3670141435056305 0.36231447849332232
		-2.2185363318579492e-017 0.3670141435056305 0.36231447849332232
		-3.7990549347274892e-033 0.56751794090090757 6.2043275454972651e-017
		2.2185363318579511e-017 0.36701414350563027 -0.36231447849332271
		2.2185363318579511e-017 0.36701414350563022 -0.36231447849332271
		1.871981849540608e-017 0.4667727477199381 -0.30571783649685047
		-3.7990549347274899e-033 0.64275993689642075 6.2043275454972651e-017
		-1.8719818495406061e-017 0.46677274771993821 0.30571783649684997'''
        mel.eval( code )
    elif shapeName == "C00_sphere":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 46 0 no 3
		51 2 2 2 3 4 4 4 5 6 6 6 7 8 8 8 9 10 10 10 11 12 12 12 13 14 14 14 15 16 16
		 16 17 18 18 18 19 20 20 20 21 22 22 22 23 24 24 24 25 26 26 26
		49
		-0.5 0 5.5511151231257827e-017
		-0.50000000000000022 -0.13060193748187082 1.7645117349922589e-017
		-0.39180581244561219 -0.39180581244561224 9.7703728183612522e-018
		-0.13060193748187082 -0.50000000000000011 1.975851338064811e-017
		0 -0.5 5.5511151231257827e-017
		0.13060193748187063 -0.50000000000000022 3.5752637850609668e-017
		0.39180581244561213 -0.39180581244561241 5.7752746228245928e-017
		0.50000000000000011 -0.1306019374818706 7.8877457307290243e-017
		0.5 0 5.5511151231257827e-017
		0.50000000000000011 0.13060193748187107 9.3377185112593072e-017
		0.39180581244561213 0.39180581244561247 1.0125192964415441e-016
		0.13060193748187071 0.50000000000000022 9.1263789081867545e-017
		-2.7755575615628914e-017 0.49999999999999978 8.3266726846886765e-017
		-0.13060193748187077 0.50000000000000011 7.5269664611905974e-017
		-0.39180581244561224 0.39180581244561213 5.3269556234269701e-017
		-0.50000000000000022 0.13060193748187066 3.2144845155225411e-017
		-0.50000000000000022 -8.3266726846886741e-017 0
		-0.5 7.9970622349807932e-018 -0.13060193748187079
		-0.39180581244561213 2.3991186704942356e-017 -0.39180581244561208
		-0.13060193748187079 3.061616997868383e-017 -0.49999999999999994
		0 0 -0.49999999999999994
		0.13060193748187079 3.0616169978683824e-017 -0.49999999999999989
		0.39180581244561252 2.3991186704942341e-017 -0.39180581244561186
		0.50000000000000022 7.997062234980767e-018 -0.13060193748187038
		0.50000000000000011 -1.6177811532852781e-032 3.0531133177191805e-016
		0.49999999999999994 -7.9970622349807994e-018 0.13060193748187099
		0.39180581244561191 -2.399118670494236e-017 0.39180581244561224
		0.13060193748187052 -3.0616169978683836e-017 0.50000000000000022
		0 0 0.5
		-5.9615625589289494e-017 0.13060193748187088 0.5
		-1.1098955353675924e-016 0.39180581244561224 0.39180581244561208
		-1.1901936469749647e-016 0.50000000000000011 0.1306019374818706
		-1.1102230246251565e-016 0.5 -9.7144514654701197e-017
		-1.0302524022753486e-016 0.5 -0.13060193748187079
		-6.3007180126874498e-017 0.39180581244561213 -0.39180581244561208
		1.6167143680782006e-018 0.13060193748187079 -0.49999999999999994
		3.0616169978683836e-017 1.3877787807814457e-017 -0.49999999999999994
		5.9615625589289469e-017 -0.13060193748187079 -0.49999999999999989
		1.1098955353675929e-016 -0.39180581244561252 -0.39180581244561186
		1.1901936469749647e-016 -0.50000000000000022 -0.13060193748187038
		1.1102230246251565e-016 -0.50000000000000011 3.0531133177191805e-016
		1.0302524022753484e-016 -0.49999999999999994 0.13060193748187099
		6.3007180126874449e-017 -0.39180581244561191 0.39180581244561224
		-1.6167143680782592e-018 -0.13060193748187052 0.50000000000000022
		-3.0616169978683873e-017 1.8041124150158794e-016 0.5
		-0.13060193748187088 -3.061616997868383e-017 0.5
		-0.39180581244561224 -2.3991186704942347e-017 0.39180581244561208
		-0.50000000000000011 -7.9970622349807762e-018 0.1306019374818706
		-0.5 8.4740917553038378e-033 -9.7144514654701197e-017'''
        mel.eval( code )
    elif shapeName == "C01_cube":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 15 0 no 3
		16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
		16
		0.5 0.5 0.5
		0.5 0.5 -0.5
		-0.5 0.5 -0.5
		-0.5 -0.5 -0.5
		0.5 -0.5 -0.5
		0.5 0.5 -0.5
		-0.5 0.5 -0.5
		-0.5 0.5 0.5
		0.5 0.5 0.5
		0.5 -0.5 0.5
		0.5 -0.5 -0.5
		-0.5 -0.5 -0.5
		-0.5 -0.5 0.5
		0.5 -0.5 0.5
		-0.5 -0.5 0.5
		-0.5 0.5 0.5
		;'''
        mel.eval( code )
    elif shapeName == "C02_pole":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 12 0 no 3
		13 0 1 2 3 4 5 6 7 8 9 10 11 12
		13
		0.5 0 0
		0 0 0.5
		-0.5 0 0
		0 0 -0.5
		0.5 0 0
		0 0.5 0
		-0.5 0 0
		0 -0.5 0
		0 0 -0.5
		0 0.5 0
		0 0 0.5
		0 -0.5 0
		0.5 0 0
		;'''
        mel.eval( code )
    elif shapeName == "C03_point":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 46 0 no 3
		51 2 2 2 3 4 4 4 5 6 6 6 7 8 8 8 9 10 10 10 11 12 12 12 13 14 14 14 15 16 16
		 16 17 18 18 18 19 20 20 20 21 22 22 22 23 24 24 24 25 26 26 26
		49
		-0.5 0 0
		-0.33333333000000015 -0.087067957450567335 -2.52440223351166e-017
		-0.21050029161418973 -0.21050029161418948 -2.0982690568361035e-017
		-0.087067957450567626 -0.33333332999999976 -2.3835091662055558e-017
		0 -0.5 0
		0.087067957450567501 -0.33333332999999987 -1.3172342122042016e-017
		0.21050029161418971 -0.21050029161418959 4.7961602661291391e-018
		0.33333333000000004 -0.087067957450567182 1.5577537228246239e-017
		0.5 0 0
		0.33333333000000004 0.087067957450568084 2.5244022335116603e-017
		0.21050029161418971 0.21050029161419023 2.8166387310167489e-017
		0.087067957450567557 0.33333333000000043 2.3835091662055558e-017
		0 0.5 0
		-0.087067957450567585 0.33333333000000032 1.317234212204201e-017
		-0.21050029161418979 0.21050029161419001 2.3875364756772964e-018
		-0.33333333000000015 0.087067957450567807 -1.5577537228246239e-017
		-0.5 0 0
		-0.33333332999999998 3.0139084948367924e-016 -0.08706795745056764
		-0.26120387235170267 3.1205359902369278e-016 -0.26120387235170267
		-0.087067957450567612 3.1647025449535389e-016 -0.33333332999999998
		0 0 -0.5
		0.087067957450567612 3.1647025449535389e-016 -0.33333332999999993
		0.26120387235170289 3.1205359902369278e-016 -0.2612038723517025
		0.33333333000000015 3.013908494836792e-016 -0.087067957450567363
		0.5 0 0
		0.33333332999999993 2.9072809994366566e-016 0.087067957450567696
		0.2612038723517025 2.8006535040365212e-016 0.26120387235170267
		0.087067957450567418 2.7564869493199101e-016 0.33333333000000004
		0 0 0.5
		-3.9743749995422156e-017 0.087067957450567959 0.33333332999999998
		-6.6813576247128218e-017 0.21050029161419009 0.21050029161418959
		-7.9346242338201876e-017 0.33333333000000032 0.087067957450567446
		0 0.5 0
		-6.8683492798188302e-017 0.33333333000000026 -0.08706795745056764
		-4.103472541263797e-017 0.21050029161419001 -0.21050029161418971
		1.0778095679407045e-018 0.087067957450567904 -0.33333332999999998
		0 0 -0.5
		3.9743749995422138e-017 -0.087067957450567321 -0.33333332999999993
		5.2446182763515298e-017 -0.21050029161418971 -0.21050029161418951
		7.9346242338201876e-017 -0.33333332999999987 -0.087067957450567363
		0 -0.5 0
		6.8683492798188289e-017 -0.33333332999999965 0.087067957450567696
		2.6667331929025075e-017 -0.21050029161418921 0.21050029161418973
		-1.0778095679407436e-018 -0.087067957450567127 0.33333333000000004
		0 0 0.5
		-0.087067957450567668 2.7564869493199101e-016 0.33333332999999998
		-0.26120387235170273 2.8006535040365212e-016 0.26120387235170256
		-0.33333333000000004 2.9072809994366571e-016 0.087067957450567446
		-0.5 0 0
		;'''
        mel.eval( code )
    elif shapeName == "C04_trianguleBall":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 36 0 no 3
		37 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
		 28 29 30 31 32 33 34 35 36
		37
		-0.26152193546295166 0.42315143346786499 9.3958492867832753e-017
		0 0.26152193546295166 0.42315143346786499
		0.26152193546295166 0.42315143346786499 9.3958492867832753e-017
		-0.26152193546295166 0.42315143346786499 9.3958492867832753e-017
		0 0.26152193546295166 -0.42315143346786499
		0.26152193546295166 0.42315143346786499 9.3958492867832753e-017
		0.42315143346786499 5.8069534839100636e-017 -0.26152193546295166
		0 0.26152193546295166 -0.42315143346786499
		0 -0.26152193546295166 -0.42315143346786499
		0.42315143346786499 5.8069534839100636e-017 -0.26152193546295166
		0.26152193546295166 -0.42315143346786499 -9.3958492867832753e-017
		0 -0.26152193546295166 -0.42315143346786499
		-0.26152193546295166 -0.42315143346786499 -9.3958492867832753e-017
		0.26152193546295166 -0.42315143346786499 -9.3958492867832753e-017
		0 -0.26152193546295166 0.42315143346786499
		-0.26152193546295166 -0.42315143346786499 -9.3958492867832753e-017
		-0.42315143346786499 -5.8069534839100636e-017 0.26152193546295166
		0 -0.26152193546295166 0.42315143346786499
		0 0.26152193546295166 0.42315143346786499
		-0.42315143346786499 -5.8069534839100636e-017 0.26152193546295166
		-0.26152193546295166 0.42315143346786499 9.3958492867832753e-017
		-0.42315143346786499 5.8069534839100636e-017 -0.26152193546295166
		0 -0.26152193546295166 -0.42315143346786499
		0 0.26152193546295166 -0.42315143346786499
		-0.42315143346786499 5.8069534839100636e-017 -0.26152193546295166
		-0.26152193546295166 -0.42315143346786499 -9.3958492867832753e-017
		-0.42315143346786499 5.8069534839100636e-017 -0.26152193546295166
		-0.42315143346786499 -5.8069534839100636e-017 0.26152193546295166
		0 -0.26152193546295166 0.42315143346786499
		0.42315143346786499 -5.8069534839100636e-017 0.26152193546295166
		0.26152193546295166 -0.42315143346786499 -9.3958492867832753e-017
		0.42315143346786499 -5.8069534839100636e-017 0.26152193546295166
		0.42315143346786499 5.8069534839100636e-017 -0.26152193546295166
		0.42315143346786499 -5.8069534839100636e-017 0.26152193546295166
		0.26152193546295166 0.42315143346786499 9.3958492867832753e-017
		0.42315143346786499 -5.8069534839100636e-017 0.26152193546295166
		0 0.26152193546295166 0.42315143346786499
		;'''
        mel.eval( code )
    elif shapeName == "D00_triangule":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 3 0 no 3
		4 0 1 2 3
		4
		-0.25004802843031154 -0.4330956876427588 -1.7286148214943597e-015
		-0.25004802843034407 0.43309568764274015 -1.8247813823517287e-015
		0.50009605686065561 1.8683090978034513e-014 3.5533962038460886e-015
		-0.25004802843031154 -0.4330956876427588 -1.7286148214943597e-015'''
        mel.eval( code )
    elif shapeName == "D01_aquare":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 4 0 no 3
		5 0 1 2 3 4
		5
		0.5 0.5 -1.1102230246251565e-016
		-0.5 0.5 -1.1102230246251565e-016
		-0.5 -0.5 1.1102230246251565e-016
		0.5 -0.5 1.1102230246251565e-016
		0.5 0.5 -1.1102230246251565e-016
		;'''
        mel.eval( code )
    elif shapeName == "D02_fourDirect":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 24 0 no 3
		25 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
		25
		0 0.49928834741251205 -1.1086428384488301e-016
		-0.14944685228673829 0.2751180689824046 -6.1088482934935539e-017
		-0.074723426143369145 0.2751180689824046 -6.1088482934935539e-017
		-0.074723426143369145 0.074723426143369145 -1.6591933636649158e-017
		-0.2751180689824046 0.074723426143369145 -1.6591933636649158e-017
		-0.2751180689824046 0.14944685228673829 -3.3183867273298316e-017
		-0.49928834741251205 0 0
		-0.2751180689824046 -0.14944685228673829 3.3183867273298316e-017
		-0.2751180689824046 -0.074723426143369145 1.6591933636649158e-017
		-0.074723426143369145 -0.074723426143369145 1.6591933636649158e-017
		-0.074723426143369145 -0.2751180689824046 6.1088482934935539e-017
		-0.14944685228673829 -0.2751180689824046 6.1088482934935539e-017
		0 -0.49928834741251205 1.1086428384488301e-016
		0.14944685228673829 -0.2751180689824046 6.1088482934935539e-017
		0.074723426143369145 -0.2751180689824046 6.1088482934935539e-017
		0.074723426143369145 -0.074723426143369145 1.6591933636649158e-017
		0.2751180689824046 -0.074723426143369145 1.6591933636649158e-017
		0.2751180689824046 -0.14944685228673829 3.3183867273298316e-017
		0.49928834741251205 0 0
		0.2751180689824046 0.14944685228673829 -3.3183867273298316e-017
		0.2751180689824046 0.074723426143369145 -1.6591933636649158e-017
		0.074723426143369145 0.074723426143369145 -1.6591933636649158e-017
		0.074723426143369145 0.2751180689824046 -6.1088482934935539e-017
		0.14944685228673829 0.2751180689824046 -6.1088482934935539e-017
		0 0.49928834741251205 -1.1086428384488301e-016
		;'''
        mel.eval( code )
    elif shapeName == "D03_twoDirect":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 10 0 no 3
		11 0 1 2 3 4 5 6 7 8 9 10
		11
		0.4999912487392868 1.11020359292288e-016 -1.11020359292288e-016
		0.21428196374540856 0.21428196374540867 -4.7580153982409138e-017
		0.21428196374540859 0.07142732124846958 -4.7580153982409138e-017
		-0.21428196374540864 0.071427321248469497 4.7580153982409138e-017
		-0.21428196374540867 0.21428196374540856 4.7580153982409138e-017
		-0.4999912487392868 -1.11020359292288e-016 1.11020359292288e-016
		-0.21428196374540856 -0.21428196374540867 4.7580153982409138e-017
		-0.21428196374540859 -0.07142732124846958 4.7580153982409138e-017
		0.21428196374540864 -0.071427321248469497 -4.7580153982409138e-017
		0.21428196374540867 -0.21428196374540856 -4.7580153982409138e-017
		0.4999912487392868 1.11020359292288e-016 -1.11020359292288e-016
		;'''
        mel.eval( code )
    elif shapeName == "D04_oneDirect":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 7 0 no 3
		8 0 1 2 3 4 5 6 7
		8
		0.50007545166961254 -1.110390560986857e-016 -1.110390560986857e-016
		-7.4026037399123811e-017 -0.33338363444640839 0
		-3.7013018699561905e-017 -0.1666918172232042 0
		-0.18296922581489253 -0.16669181722320417 4.0627329459506645e-017
		-0.18296922581489247 0.16669181722320423 4.0627329459506645e-017
		3.7013018699561905e-017 0.1666918172232042 0
		7.4026037399123811e-017 0.33338363444640839 0
		0.50007545166961254 -1.110390560986857e-016 -1.110390560986857e-016
		;'''
        mel.eval( code )
    elif shapeName == "D05_90Degree":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 15 0 no 3
		16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
		16
		-2.7590427558550787e-017 0.12425623927168199 0.50278030592956935
		-8.372732294465525e-017 0.37707434041427856 0.48490645338289845
		-5.3472643379992467e-017 0.24081937680064949 0.46054075740462219
		-6.2725209675783392e-017 0.28248923092259431 0.43875279248702004
		-7.9993501574485735e-017 0.36025870388291514 0.38350876894514702
		-9.9934288153190815e-017 0.45006402288824593 0.27255001866656592
		-1.1252887405354651e-016 0.50678499525597354 0.14148516409714346
		-1.1683198943376721e-016 0.52616450407886772 4.8543556139055215e-009
		-1.0570372026740811e-016 0.47604723520797432 4.3919726301169083e-009
		-1.018133979956338e-016 0.45852678127446039 0.12800503632497409
		-9.0413999809429885e-017 0.40718845585082453 0.24660293813781853
		-7.237924914121077e-017 0.32596715946171312 0.34697111401063108
		-5.674861169111311e-017 0.25557302646588997 0.39697157325588711
		-4.8379220427131278e-017 0.21788063908810351 0.41668220767010045
		-5.4831915255728512e-017 0.24694099311370954 0.28100337288800448
		-2.7590427558550787e-017 0.12425623927168199 0.50278030592956935
		;'''
        mel.eval( code )
    elif shapeName == "D06_180Degree":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 28 0 no 3
		29 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
		 28
		29
		-2.7510334359278154e-017 0.12389553156928285 -0.50132076772024958
		-8.3484268024721911e-017 0.37597971836743621 -0.4834988017937028
		-5.3317415807937645e-017 0.24012029396498577 -0.45920383783069751
		-6.2543122511410201e-017 0.28166918323697426 -0.43747912194438299
		-7.9761285692780954e-017 0.35921289652459998 -0.38239546817484393
		-9.9644185477607529e-017 0.44875751658658986 -0.27175882386139311
		-1.1220221012221129e-016 0.50531383169653687 -0.14107444195744098
		-1.1649283384107915e-016 0.52463708307801715 4.8402637383555812e-009
		-1.1220221012221129e-016 0.50531383169653687 0.14107444195744098
		-9.9644185477607529e-017 0.44875751658658986 0.27175882386139311
		-7.9761285692780954e-017 0.35921289652459998 0.38239546817484393
		-6.2543122511410201e-017 0.28166918323697426 0.43747912194438299
		-5.3317415807937645e-017 0.24012029396498577 0.45920383783069751
		-8.3484268024721911e-017 0.37597971836743621 0.4834988017937028
		-2.7510334359278154e-017 0.12389553156928285 0.50132076772024958
		-5.4672741806685091e-017 0.24622413962791032 0.28018763855067902
		-4.8238778727411258e-017 0.21724814590157715 0.41547260658575846
		-5.6583874198191833e-017 0.25483111475415576 0.39581919084880474
		-7.2169136934273485e-017 0.32502089820484437 0.34596387965308706
		-9.015153390568826e-017 0.40600641450453628 0.24588706600341342
		-1.0151784038758357e-016 0.45719570814097887 0.12763344611092176
		-1.0539686930928975e-016 0.4746653013473342 4.3792230220031009e-009
		-1.0151784038758357e-016 0.45719570814097887 -0.12763344611092176
		-9.015153390568826e-017 0.40600641450453628 -0.24588706600341342
		-7.2169136934273485e-017 0.32502089820484437 -0.34596387965308706
		-5.6583874198191833e-017 0.25483111475415576 -0.39581919084880474
		-4.8238778727411258e-017 0.21724814590157715 -0.41547260658575846
		-5.4672741806685091e-017 0.24622413962791032 -0.28018763855067902
		-2.7510334359278154e-017 0.12389553156928285 -0.50132076772024958
		;'''
        mel.eval( code )
    elif shapeName == "D07_circle":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 8 2 no 3
		13 -2 -1 0 1 2 3 4 5 6 7 8 9 10
		11
		2.3991186704942378e-017 0.39180581244561191 -0.39180581244561252
		-3.87085460398802e-033 0.55409709377719396 6.321585303914663e-017
		-2.3991186704942356e-017 0.39180581244561213 0.39180581244561213
		-3.3928661615554567e-017 1.605634753618615e-016 0.55409709377719396
		-2.3991186704942363e-017 -0.39180581244561202 0.39180581244561224
		-1.0223367900542009e-032 -0.55409709377719407 1.6696026817952597e-016
		2.3991186704942341e-017 -0.39180581244561219 -0.39180581244561191
		3.3928661615554567e-017 -2.9760662996402926e-016 -0.55409709377719396
		2.3991186704942378e-017 0.39180581244561191 -0.39180581244561252
		-3.87085460398802e-033 0.55409709377719396 6.321585303914663e-017
		-2.3991186704942356e-017 0.39180581244561213 0.39180581244561213
		;'''
        mel.eval( code )
    elif shapeName == "E00_driven":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 27 0 no 3
		32 0 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 15 15 16 17 18 19 20 21 22 23
		 24 25 25 25
		30
		-2.0099105011873771e-016 5.4026143656042982e-018 -7.7885316842694888e-017
		0.1094587338218963 -7.6091592123895052e-010 1.0917018653698038e-008
		0.21501409553028852 -1.4946968877254204e-009 2.1444729087897275e-008
		0.33701433734271963 9.4550354902197048e-005 -3.8210241524482077e-005
		0.33696501666266693 9.4550355245061958e-005 -3.8210241500695969e-005
		0.33692725475290408 9.4550355507578014e-005 -3.8210241482488494e-005
		0.37582325221026597 4.3356210096163655e-005 0.037876605267192005
		0.43883474710199899 2.9159854924834034e-006 0.061210909379732094
		0.49123081583228712 3.2755433964670487e-005 0.048243924056077747
		0.50015699181119544 -0.00015424614951031038 0.01491568338215769
		0.50005161938350484 -0.00015424614877772758 0.0001910830190826771
		0.50004783871190051 -0.00015424614875150043 -7.0867578241361231e-005
		0.49967831586497524 -0.013848230496807024 -1.7928833591988027e-005
		0.49092661529790227 -0.048808629473570182 6.1839024478054446e-005
		0.43920575468739975 -0.060910428496728834 3.291393880994231e-005
		0.3757905936857005 -0.038742636326938119 -2.3489518937707642e-009
		0.34765487757930202 -0.012804397931675791 9.3260452843430548e-006
		0.33701433734271963 9.4550354902197048e-005 -3.8210241524482077e-005
		0.34766576383592174 0.01310061270979361 9.3260452791174172e-006
		0.37582325245555948 0.03852477208669898 -2.3489675739362636e-009
		0.43883474749495543 0.061859596210275251 3.2913938988957099e-005
		0.4912308161439613 0.048908910711630692 6.1839024331468835e-005
		0.49999229974358089 0.015578798061214901 -1.7928833743371707e-005
		0.5000516193851996 0.0001077044584004867 -7.0867588095654624e-005
		0.50004783871190051 -0.00015424613883895894 -7.0867588093834804e-005
		0.49984300812124044 -0.00015424614732760471 -0.014244727032380319
		0.4909266156165577 3.275543584671572e-005 -0.049188344657658804
		0.43920575508698473 2.9159829134241237e-006 -0.061294984451945311
		0.37579059393857328 4.3356210323260201e-005 -0.039126672568892587
		0.33692725475240981 -5.8447819183652808e-005 3.8177565161893302e-005
		;'''
        mel.eval( code )
    elif shapeName == "E01_doctor":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 36 2 no 3
		41 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
		 26 27 28 29 30 31 32 33 34 35 36 37 38
		39
		-0.50000063590033095 1.7763590985720546e-016 -0.20000025436013241
		-0.50000063590033095 1.9984039858935615e-016 -0.10000012718006621
		-0.50000063590033095 2.4424937605365754e-016 0.10000012718006621
		-0.50000063590033095 2.6645386478580821e-016 0.20000025436013241
		-0.40000050872026482 2.2204488732150687e-016 0.20000025436013241
		-0.20000025436013241 1.3322693239290413e-016 0.20000025436013241
		-0.20000025436013244 1.3322693239290413e-016 0.20000025436013244
		-0.20000025436013244 1.332269323929041e-016 0.20000025436013244
		-0.20000025436013241 1.7763590985720549e-016 0.40000050872026482
		-0.20000025436013241 1.9984039858935615e-016 0.50000063590033095
		-0.10000012718006621 1.554314211250548e-016 0.50000063590033095
		0.10000012718006621 6.6613466196452052e-017 0.50000063590033095
		0.20000025436013241 2.220448873215068e-017 0.50000063590033095
		0.20000025436013241 0 0.40000050872026482
		0.20000025436013241 -4.4408977464301372e-017 0.20000025436013244
		0.20000025436013241 -4.4408977464301372e-017 0.20000025436013244
		0.20000025436013244 -4.4408977464301378e-017 0.20000025436013241
		0.40000050872026482 -1.332269323929041e-016 0.20000025436013241
		0.50000063590033095 -1.7763590985720546e-016 0.20000025436013241
		0.50000063590033095 -1.9984039858935615e-016 0.10000012718006621
		0.50000063590033095 -2.4424937605365754e-016 -0.10000012718006621
		0.50000063590033095 -2.6645386478580821e-016 -0.20000025436013241
		0.40000050872026482 -2.2204488732150687e-016 -0.20000025436013241
		0.20000025436013247 -1.3322693239290413e-016 -0.20000025436013241
		0.20000025436013247 -1.3322693239290415e-016 -0.20000025436013244
		0.20000025436013241 -1.332269323929041e-016 -0.20000025436013244
		0.20000025436013241 -1.7763590985720549e-016 -0.40000050872026482
		0.20000025436013241 -1.998403985893562e-016 -0.50000063590033095
		0.10000012718006621 -1.554314211250548e-016 -0.50000063590033095
		-0.10000012718006621 -6.6613466196452076e-017 -0.50000063590033095
		-0.20000025436013241 -2.220448873215068e-017 -0.50000063590033095
		-0.20000025436013241 0 -0.40000050872026482
		-0.20000025436013241 4.4408977464301372e-017 -0.20000025436013247
		-0.20000025436013244 4.4408977464301378e-017 -0.20000025436013244
		-0.20000025436013244 4.4408977464301378e-017 -0.20000025436013241
		-0.40000050872026482 1.332269323929041e-016 -0.20000025436013241
		-0.50000063590033095 1.7763590985720546e-016 -0.20000025436013241
		-0.50000063590033095 1.9984039858935615e-016 -0.10000012718006621
		-0.50000063590033095 2.4424937605365754e-016 0.10000012718006621
		;'''
        mel.eval( code )
    elif shapeName == "E02_driven":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 9 0 no 3
		10 0 1 2 3 4 5 6 7 8 9
		10
		0.35646006751542636 7.9150034863012832e-017 0
		0.35646006751542636 7.9150034863012832e-017 0.053470799698831568
		0.5 1.1102230246251565e-016 0
		0.35646006751542636 7.9150034863012832e-017 -0.053470799698831568
		0.35646006751542636 7.9150034863012832e-017 0
		0.35646006751542636 -0.053470799698831492 0
		0.5 1.1102230246251565e-016 0
		0.35646006751542636 0.053470799698831645 0
		0.35646006751542636 7.9150034863012832e-017 0
		0 0 0
		;'''
        mel.eval( code )
    elif shapeName == "E03_driven":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 4 0 no 3
		5 0 1 2 3 4
		5
		0.3718520996091193 7.2268515630364584e-017 8.2567752548250272e-017
		0.50000000000000011 -0.073918173032948009 1.3193544449391337e-016
		0.50000000000000011 0.073918173032948134 9.0056816037789178e-017
		0.3718520996091193 7.2268515630364584e-017 8.2567752548250272e-017
		-6.9681574572766825e-050 6.9681574572766825e-050 3.138179132805021e-034
		;'''
        mel.eval( code )
    elif shapeName == "E04_driven":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 6 0 no 3
		7 0 1 2 3 4 5 6
		7
		0.36314896865286939 -5.8448792084201599e-017 8.0635269273458974e-017
		0.36314896865286939 -0.0685264003620462 9.5851186768784036e-017
		0.50000000000000011 -0.068526400362046255 1.2628302175943461e-016
		0.50000000000000011 0.068526400362046075 9.5851186768784492e-017
		0.36314896865286939 0.068526400362046075 6.5419351778133925e-017
		0.36314896865286939 -5.8448792084201599e-017 8.0635269273458974e-017
		0 0 0
		;'''
        mel.eval( code )
    elif shapeName == "F00_3Drot":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 70 1 no 3
		75 0 0 0 0.39119916975180447 0.39119916975180447 0.39119916975180447 0.49153201011987691
		 0.49153201011987691 0.49153201011987691 0.76393689254433172 0.76393689254433172 0.76393689254433172
		 1.0383774883421262 1.0383774883421262 1.0383774883421262 1.1383607827903577 1.1383607827903577
		 1.1383607827903577 1.5337651000162922 1.5337651000162922 1.5337651000162922 1.9291694172422267
		 1.9291694172422267 1.9291694172422267 2.0291527116904584 2.0291527116904584 2.0291527116904584
		 2.3035933074882529 2.3035933074882529 2.3035933074882529 2.575998189912708 2.575998189912708
		 2.575998189912708 2.6763310302807803 2.6763310302807803 2.6763310302807803 3.0675302000325853
		 3.0675302000325853 3.0675302000325853 3.4558308181053801 3.4558308181053801 3.4558308181053801
		 3.5561636584734524 3.5561636584734524 3.5561636584734524 3.8285685408979075 3.8285685408979075
		 3.8285685408979075 4.103009136695702 4.103009136695702 4.103009136695702 4.2029924311439331
		 4.2029924311439331 4.2029924311439331 4.5983967483698676 4.5983967483698676 4.5983967483698676
		 4.9938010655958021 4.9938010655958021 4.9938010655958021 5.0937843600440331 5.0937843600440331
		 5.0937843600440331 5.3682249558418276 5.3682249558418276 5.3682249558418276 5.6406298382662827
		 5.6406298382662827 5.6406298382662827 5.7409626786343555 5.7409626786343555 5.7409626786343555
		 6.1292667543230737 6.1292667543230737 6.1292667543230737
		73
		2.2951794170473881e-018 0.77986554971424016 0.66146218032106074
		-0.058844354023153578 0.85487909365276138 0.57319564928633004
		-0.12749801616186879 0.90181963076601768 0.47021515607825837
		-0.19798867982399115 0.92344448896033759 0.36447916058507424
		-0.16499056651999264 0.92869983188958793 0.36447916058507418
		-0.13199245321599409 0.93395517481883816 0.36447916058507418
		-0.098994339911995619 0.93921051774808817 0.36447916058507418
		-0.098994339911995605 0.96833516099723937 0.27884022664297081
		-0.098994339911995605 0.98633742243529732 0.18901936736209166
		-0.098994339911995605 0.9938968429140802 0.098994339911995341
		-0.18972941191670659 0.98484524007051721 0.098994339911995521
		-0.27931938945764162 0.96350937871326192 0.09899433991199548
		-0.3644791605850749 0.93098409643249436 0.098994339911995161
		-0.36447916058507496 0.92648073056679114 0.13199245321599384
		-0.36447916058507496 0.92197736470108804 0.16499056651999253
		-0.36447916058507496 0.91747399883538516 0.19798867982399118
		-0.47066944020286661 0.88933128383070037 0.12719516007879703
		-0.57275100178061145 0.83617242860016605 0.059140785693632923
		-0.66146218032106163 0.76005280571678191 -4.3021142204224816e-016
		-0.57275100178061067 0.83617242860016672 -0.059140785693634679
		-0.47066944020286777 0.88933128383070015 -0.1271951600787965
		-0.3644791605850749 0.91747399883538483 -0.1979886798239919
		-0.36447916058507496 0.92197736470108804 -0.16499056651999325
		-0.36447916058507496 0.92648073056679126 -0.13199245321599459
		-0.36447916058507496 0.93098409643249458 -0.098994339911995896
		-0.27931938945764528 0.96350937871326081 -0.098994339911995674
		-0.18972941191670267 0.98484524007051744 -0.098994339911995438
		-0.098994339911995577 0.99389684291407998 -0.098994339911995882
		-0.098994339911995577 0.9863374224352971 -0.18901936736209224
		-0.098994339911995605 0.96833516099723926 -0.2788402266429707
		-0.098994339911995605 0.93921051774808828 -0.36447916058507418
		-0.13199245321599409 0.93395517481883816 -0.3644791605850744
		-0.16499056651999264 0.92869983188958782 -0.36447916058507462
		-0.19798867982399113 0.92344448896033748 -0.36447916058507496
		-0.12749801616186762 0.90181963076601779 -0.4702151560782592
		-0.058844354023153723 0.85487909365276105 -0.57319564928633104
		-1.8597412446656271e-017 0.77986554971423938 -0.66146218032106185
		0.058816464214341752 0.85484354031152443 -0.57323748399954255
		0.12753142584347629 0.90182988006130782 -0.4701650415558471
		0.19798867982399126 0.92344448896033726 -0.36447916058507485
		0.16499056651999269 0.92869983188958738 -0.36447916058507485
		0.13199245321599409 0.93395517481883761 -0.36447916058507479
		0.098994339911995535 0.93921051774808761 -0.36447916058507474
		0.098994339911995716 0.96833516099723882 -0.27884022664297092
		0.098994339911995771 0.98633742243529687 -0.18901936736209277
		0.098994339911995771 0.99389684291407976 -0.09899433991199591
		0.18972941191670667 0.98484524007051688 -0.098994339911995202
		0.27931938945764151 0.96350937871326181 -0.098994339911996021
		0.36447916058507468 0.93098409643249425 -0.098994339911995924
		0.36447916058507474 0.92648073056679092 -0.13199245321599481
		0.36447916058507474 0.92197736470108793 -0.16499056651999366
		0.36447916058507474 0.9174739988353845 -0.19798867982399257
		0.47066944020286633 0.88933128383070037 -0.12719516007879769
		0.57275100178061134 0.83617242860016605 -0.059140785693633992
		0.66146218032106163 0.76005280571678169 -5.4123372450476381e-016
		0.57275100178061122 0.83617242860016616 0.059140785693633152
		0.47066944020286672 0.88933128383070048 0.12719516007879567
		0.36447916058507468 0.91747399883538505 0.1979886798239906
		0.36447916058507474 0.92197736470108804 0.16499056651999211
		0.36447916058507474 0.92648073056679126 0.13199245321599365
		0.36447916058507474 0.93098409643249436 0.098994339911995202
		0.27931938945763901 0.9635093787132627 0.09899433991199505
		0.18972941191670908 0.98484524007051677 0.098994339911994744
		0.098994339911995535 0.99389684291407998 0.098994339911995341
		0.098994339911995688 0.98633742243529721 0.18901936736209091
		0.098994339911995757 0.96833516099723871 0.27884022664297148
		0.098994339911995757 0.93921051774808784 0.36447916058507418
		0.1319924532159942 0.93395517481883772 0.36447916058507412
		0.16499056651999264 0.92869983188958749 0.36447916058507412
		0.19798867982399107 0.92344448896033748 0.36447916058507412
		0.12753142634477971 0.90182988021509625 0.47016504080389065
		0.058816463795866941 0.85484353977805405 0.57323748462726309
		2.2951794170473881e-018 0.77986554971424016 0.66146218032106074;'''
        mel.eval( code )
    elif shapeName == "G00_gimbal":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 239 0 no 3
		240 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
		 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
		 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
		 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
		 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
		 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
		 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
		 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
		 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
		 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
		 233 234 235 236 237 238 239
		240
		-5.2318026575998742e-016 0.49999999998393069 0
		-5.2508260285648917e-016 0.56544984581516056 0
		0.073806014013871879 0.56061234416285644 0
		0.065263095001025215 0.49572243081669981 0
		0.12940952039027731 0.48296291370693145 0
		0.14634918670809588 0.54618261019760384 0
		0.21638828432739202 0.5224075406598151 0
		0.19134171308198791 0.46193976752254257 0
		0.24999999612445473 0.4330127041112109 0
		0.28272491853381376 0.48969393356711799 0
		0.34422405116276783 0.44860152778772489 0
		0.30438071006586498 0.39667667353113961 0
		0.35355338584519741 0.35355339531862412 0
		0.39983341504003989 0.3998334257535352 0
		0.44860151856427649 0.34422406318299953 0
		0.39667666537528945 0.30438072069477551 0
		0.43301269741248644 0.25000000772698561 0
		0.48969392599153255 0.28272493165511231 0
		0.52240753486171299 0.21638829832524814 0
		0.46193976239556089 0.19134172545961636 0
		0.48296291023941634 0.12940953333121885 0
		0.54618260627619197 0.14634920134300264 0
		0.56061234218523126 0.0738060290354218 0
		0.49572242906798153 0.065263108283856661 0
		0.4999999999839303 1.3397447941993281e-008 0
		0.56544984581516011 1.5151169817605076e-008 0
		0.56061234614048039 -0.073805998992322874 0
		0.49572243256541731 -0.065263081718194768 0
		0.48296291717444578 -0.12940950744933682 0
		0.54618261411901481 -0.14634917207319012 0
		0.52240754645791643 -0.21638827032953681 0
		0.46193977264952357 -0.19134170070436043 0
		0.43301271080993453 -0.24999998452192493 0
		0.48969394114270248 -0.28272490541251627 0
		0.44860153701117222 -0.34422403914253713 0
		0.39667668168698889 -0.30438069943695545 0
		0.35355340479205022 -0.35355337637177181 0
		0.39983343646702979 -0.39983340432654546 0
		0.34422407520323028 -0.44860150934082915 0
		0.30438073132368532 -0.3966766572194404 0
		0.2500000193295156 -0.43301269071376297 0
		0.28272494477641003 -0.48969391841594823 0
		0.21638831232310357 -0.52240752906361188 0
		0.19134173783724412 -0.46193975726857989 0
		0.1294095462721597 -0.48296290677190207 0
		0.1463492159779087 -0.54618260235478122 0
		0.07380604405697129 -0.56061234020760731 0
		0.065263121566687621 -0.49572242731926425 0
		2.6794895838942627e-008 -0.4999999999839308 0
		3.0302339525517592e-008 -0.56544984581516056 0
		-0.073805983970773176 -0.56061234811810545 0
		-0.0652630684353636 -0.49572243431413565 0
		-0.12940949450839567 -0.48296292064196106 0
		-0.14634915743828375 -0.54618261804042645 0
		-0.21638825633168102 -0.52240755225601865 0
		-0.19134168832673237 -0.46193977777650547 0
		-0.24999997291939446 -0.43301271750865933 0
		-0.28272489229121811 -0.48969394871828814 0
		-0.34422402712230576 -0.44860154623462062 0
		-0.30438068880804503 -0.39667668984283894 0
		-0.35355336689834505 -0.35355341426547726 0
		-0.3998333936130502 -0.39983344718052538 0
		-0.44860150011738092 -0.34422408722346232 0
		-0.39667664906359046 -0.30438074195259635 0
		-0.43301268401503856 -0.25000003093204698 0
		-0.48969391084036273 -0.28272495789770891 0
		-0.52240752326550977 -0.21638832632096014 0
		-0.46193975214159833 -0.1913417502148729 0
		-0.48296290330438718 -0.12940955921310171 0
		-0.54618259843336936 -0.14634923061281596 0
		-0.56061233822998247 -0.073806059078521905 0
		-0.49572242557054597 -0.065263134849519719 0
		-0.49999999998393052 -4.019234475607809e-008 0
		-0.56544984581516011 -4.54535102666512e-008 0
		-0.56061235009572974 0.073805968949222436 0
		-0.49572243606285332 0.065263055152531432 0
		-0.48296292410947539 0.12940948156745352 0
		-0.54618262196183742 0.14634914280337633 0
		-0.52240755805411998 0.21638824233382381 0
		-0.46193978290348664 0.19134167594910301 0
		-0.43301272420738307 0.24999996131686264 0
		-0.48969395629387269 0.28272487916991845 0
		-0.44860155545806846 0.34422401510207257 0
		-0.39667669799868865 0.30438067817913311 0
		-0.35355342373890342 0.35355335742491711 0
		-0.39983345789402003 0.39983338289955356 0
		-0.34422409924369379 0.44860149089393109 0
		-0.30438075258150671 0.39667664090773896 0
		-0.25000004253457725 0.43301267731631271 0
		-0.28272497101900684 0.48969390326477591 0
		-0.21638834031881635 0.52240751746740588 0
		-0.19134176259250149 0.46193974701461499 0
		-0.12940957215404339 0.48296289983687046 0
		-0.14634924524772278 0.54618259451195583 0
		-0.073806074100071603 0.56061233625235585 0
		-0.06526314813235097 0.49572242382182619 0
		-5.2318026575998742e-016 0.49999999998393069 0
		-1.4491329943211666e-017 0.49572242382182619 0.06526314813235097
		-1.6388240564617985e-017 0.56061233625235585 0.073806074100071603
		-3.2496060342107119e-017 0.54618259451195583 0.14634924524772278
		-2.8734697322461897e-017 0.48296289983687046 0.12940957215404339
		-4.2486406080511128e-017 0.46193974701461499 0.19134176259250149
		-4.8047863536474799e-017 0.52240751746740588 0.21638834031881635
		-6.2777554492356301e-017 0.48969390326477591 0.28272497101900684
		-5.5511160675831228e-017 0.43301267731631271 0.25000004253457725
		-6.758610395374436e-017 0.39667664090773896 0.30438075258150671
		-7.6433104122240757e-017 0.44860149089393109 0.34422409924369379
		-8.8780862193886818e-017 0.39983338289955356 0.39983345789402003
		-7.8504630293996994e-017 0.35355335742491711 0.35355342373890342
		-8.807992069008478e-017 0.30438067817913311 0.39667669799868865
		-9.9609555150441333e-017 0.34422401510207257 0.44860155545806846
		-1.0873390105944851e-016 0.28272487916991845 0.48969395629387269
		-9.6148139274139914e-017 0.24999996131686264 0.43301272420738307
		-1.0257123659395942e-016 0.19134167594910301 0.46193978290348664
		-1.1599777983797743e-016 0.21638824233382381 0.52240755805411998
		-1.2127690451043392e-016 0.14634914280337633 0.54618262196183742
		-1.0723931167732634e-016 0.12940948156745352 0.48296292410947539
		-1.1007249246805036e-016 0.065263055152531432 0.49572243606285332
		-1.2448094779309965e-016 0.073805968949222436 0.56061235009572974
		-1.2555508761894709e-016 -4.54535102666512e-008 0.56544984581516011
		-1.1102230245894751e-016 -4.019234475607809e-008 0.49999999998393052
		-0.06526314813235097 1.1007248974999632e-016 0.49572242382182619
		-0.12940957215404339 1.0723930628772537e-016 0.48296289983687046
		-0.19134176259250149 1.025712286250291e-016 0.46193974701461499
		-0.25000004253457725 9.6148128862230722e-017 0.43301267731631271
		-0.30438075258150671 8.8079908013347411e-017 0.39667664090773896
		-0.35355342373890342 7.8504615569334105e-017 0.35355335742491711
		-0.39667669799868865 6.758608743309871e-017 0.30438067817913311
		-0.43301272420738307 5.5511142641875875e-017 0.24999996131686264
		-0.46193978290348664 4.2486386841811942e-017 0.19134167594910301
		-0.48296292410947539 2.8734677208198338e-017 0.12940948156745352
		-0.49572243606285332 1.4491309297544371e-017 0.065263055152531432
		-0.49999999998393052 -4.019234475607809e-008 0
		-0.49572242557054597 -1.4491326993830649e-017 -0.065263134849519719
		-0.48296290330438718 -2.8734694448995615e-017 -0.12940955921310171
		-0.46193975214159833 -4.2486403332125478e-017 -0.1913417502148729
		-0.43301268401503856 -5.5511158099551978e-017 -0.25000003093204698
		-0.39667664906359046 -6.7586101593652158e-017 -0.30438074195259635
		-0.35355336689834505 -7.8504628190473827e-017 -0.35355341426547726
		-0.30438068880804503 -8.8079918879122351e-017 -0.39667668984283894
		-0.24999997291939446 -9.6148137786724448e-017 -0.43301271750865933
		-0.19134168832673237 -1.0257123545554091e-016 -0.46193977777650547
		-0.12940949450839567 -1.0723931090738349e-016 -0.48296292064196106
		-0.0652630684353636 -1.1007249207975703e-016 -0.49572243431413565
		1.1102230245894746e-016 1.3397447941993281e-008 -0.4999999999839303
		0.065263121566687621 -1.1007249052658358e-016 -0.49572242731926425
		0.1294095462721597 -1.0723930782761172e-016 -0.48296290677190207
		0.19134173783724412 -1.0257123090186668e-016 -0.46193975726857989
		0.2500000193295156 -9.6148131837062272e-017 -0.43301269071376297
		0.30438073132368532 -8.8079911635272711e-017 -0.3966766572194404
		0.35355340479205022 -7.8504619776380971e-017 -0.35355337637177181
		0.39667668168698889 -6.7586092153283472e-017 -0.30438069943695545
		0.43301271080993453 -5.5511147794434763e-017 -0.24999998452192493
		0.46193977264952357 -4.2486392338583297e-017 -0.19134170070436043
		0.48296291717444578 -2.8734682955130891e-017 -0.12940950744933682
		0.49572243256541731 -1.4491315196306591e-017 -0.065263081718194768
		0.4999999999839303 1.3397447941993281e-008 0
		0.49572242906798153 1.449132109506849e-017 0.065263108283856661
		0.48296291023941634 2.8734688702063161e-017 0.12940953333121885
		0.46193976239556089 4.248639783535432e-017 0.19134172545961636
		0.43301269741248644 5.5511152946993293e-017 0.25000000772698561
		0.39667666537528945 6.7586096873467729e-017 0.30438072069477551
		0.35355338584519741 7.8504623983427306e-017 0.35355339531862412
		0.30438071006586498 8.8079915257197519e-017 0.39667667353113961
		0.24999999612445473 9.6148134811893304e-017 0.4330127041112109
		0.19134171308198791 1.0257123317870377e-016 0.46193976752254257
		0.12940952039027731 1.0723930936749758e-016 0.48296291370693145
		0.065263095001025215 1.1007249130317027e-016 0.49572243081669981
		-1.1102230245894751e-016 -4.019234475607809e-008 0.49999999998393052
		-1.1007249013829012e-016 -0.065263134849519719 0.49572242557054597
		-1.2448094515837448e-016 -0.073806059078521905 0.56061233822998247
		-1.2127689928606452e-016 -0.14634923061281596 0.54618259843336936
		-1.0723930705766875e-016 -0.12940955921310171 0.48296290330438718
		-1.0257122976344809e-016 -0.1913417502148729 0.46193975214159833
		-1.1599777211335422e-016 -0.21638832632096014 0.52240752326550977
		-1.0873389096674185e-016 -0.28272495789770891 0.48969391084036273
		-9.6148130349646657e-017 -0.25000003093204698 0.43301268401503856
		-8.8079909824310234e-017 -0.30438074195259635 0.39667664906359046
		-9.9609542862340233e-017 -0.34422408722346232 0.44860150011738092
		-8.8780847920644269e-017 -0.39983344718052538 0.3998333936130502
		-7.8504617672857667e-017 -0.35355341426547726 0.35355336689834505
		-6.7586089793191257e-017 -0.39667668984283894 0.30438068880804503
		-7.6433088108075645e-017 -0.44860154623462062 0.34422402712230576
		-6.2777537011275555e-017 -0.48969394871828814 0.28272489229121811
		-5.551114521815547e-017 -0.43301271750865933 0.24999997291939446
		-4.2486389590197765e-017 -0.46193977777650547 0.19134168832673237
		-4.8047844887584516e-017 -0.52240755225601865 0.21638825633168102
		-3.2496040844494922e-017 -0.54618261804042645 0.14634915743828375
		-2.8734680081664726e-017 -0.48296292064196106 0.12940949450839567
		-1.4491312246925592e-017 -0.49572243431413565 0.0652630684353636
		-1.6388220551893523e-017 -0.56061234811810545 0.073805983970773176
		3.0302339525517592e-008 -0.56544984581516056 0
		2.6794895838942627e-008 -0.4999999999839308 0
		1.4491324044449443e-017 -0.49572242731926425 -0.065263121566687621
		1.6388233893709645e-017 -0.56061234020760731 -0.07380604405697129
		3.2496053842902817e-017 -0.54618260235478122 -0.1463492159779087
		2.8734691575529258e-017 -0.48296290677190207 -0.1294095462721597
		4.2486400583739785e-017 -0.46193975726857989 -0.19134173783724412
		4.8047857320177816e-017 -0.52240752906361188 -0.21638831232310357
		6.2777548665329258e-017 -0.48969391841594823 -0.28272494477641003
		5.5511155523272482e-017 -0.43301269071376297 -0.2500000193295156
		6.7586099233559808e-017 -0.3966766572194404 -0.30438073132368532
		7.6433098784185535e-017 -0.44860150934082915 -0.34422407520323028
		8.8780857436139236e-017 -0.39983340432654546 -0.39983343646702979
		7.8504626086950462e-017 -0.35355337637177181 -0.35355340479205022
		8.8079917068159849e-017 -0.30438069943695545 -0.39667668168698889
		9.9609551054407547e-017 -0.34422403914253713 -0.44860153701117222
		1.0873389769521291e-016 -0.28272490541251627 -0.48969394114270248
		9.6148136299308747e-017 -0.24999998452192493 -0.43301271080993453
		1.0257123431712224e-016 -0.19134170070436043 -0.46193977264952357
		1.1599777726310299e-016 -0.21638827032953681 -0.52240754645791643
		1.2127690276897747e-016 -0.14634917207319012 -0.54618261411901481
		1.0723931013744043e-016 -0.12940950744933682 -0.48296291717444578
		1.1007249169146356e-016 -0.065263081718194768 -0.49572243256541731
		1.2448094691485787e-016 -0.073805998992322874 -0.56061234614048039
		1.2555508761894709e-016 1.5151169817605076e-008 -0.56544984581516011
		1.1102230245894746e-016 1.3397447941993281e-008 -0.4999999999839303
		1.1007249091487681e-016 0.065263108283856661 -0.49572242906798153
		1.2448094603661614e-016 0.0738060290354218 -0.56061234218523126
		1.2127690102752097e-016 0.14634920134300264 -0.54618260627619197
		1.0723930859755456e-016 0.12940953333121885 -0.48296291023941634
		1.0257123204028515e-016 0.19134172545961636 -0.46193976239556089
		1.1599777468822858e-016 0.21638829832524814 -0.52240753486171299
		1.0873389433097737e-016 0.28272493165511231 -0.48969392599153255
		9.6148133324477677e-017 0.25000000772698561 -0.43301269741248644
		8.8079913446234992e-017 0.30438072069477551 -0.39667666537528945
		9.9609546958373872e-017 0.34422406318299953 -0.44860151856427649
		8.8780852678391727e-017 0.3998334257535352 -0.39983341504003989
		7.8504621879904015e-017 0.35355339531862412 -0.35355338584519741
		6.758609451337549e-017 0.39667667353113961 -0.30438071006586498
		7.6433093446130547e-017 0.44860152778772489 -0.34422405116276783
		6.2777542838302339e-017 0.48969393356711799 -0.28272491853381376
		5.5511150370713908e-017 0.4330127041112109 -0.24999999612445473
		4.2486395086968701e-017 0.46193976752254257 -0.19134171308198791
		4.8047851103881104e-017 0.5224075406598151 -0.21638828432739202
		3.2496047343698793e-017 0.54618261019760384 -0.14634918670809588
		2.8734685828596909e-017 0.48296291370693145 -0.12940952039027731
		1.449131814568743e-017 0.49572243081669981 -0.065263095001025215
		1.6388227222801506e-017 0.56061234416285644 -0.073806014013871879
		-5.2508260285648917e-016 0.56544984581516056 0
		;'''
        mel.eval( code )
    elif shapeName == "G01_gimbal":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 243 0 no 3
		244 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
		 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
		 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
		 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
		 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
		 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
		 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
		 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
		 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
		 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
		 233 234 235 236 237 238 239 240 241 242 243
		244
		0 0.5 0
		0.0654498456986842 0.49999999897135616 4.2145076878648924e-016
		0.065263094868857896 0.49572242981278802 0.0654498456986842
		-0.065263148000180599 0.49572242281791473 0.0654498456986842
		-0.065449845698684228 0.48296289885879934 0.12940957189196697
		0.065449845698684173 0.48296289885879934 0.12940957189196703
		0.065449845698684159 0.46193974607911931 0.1913417622050029
		-0.065449845698684242 0.46193974607911931 0.19134176220500285
		-0.065449845698684256 0.43301267643939889 0.25000004202828746
		0.065449845698684145 0.43301267643939889 0.25000004202828746
		0.065449845698684131 0.39667664010441134 0.30438075196508796
		-0.06544984569868427 0.39667664010441134 0.30438075196508796
		-0.065449845698684284 0.35355335670892007 0.3535534230229036
		0.065449845698684117 0.35355335670892007 0.3535534230229036
		0.065449845698684117 0.30438067756271903 0.39667669719535742
		-0.065449845698684284 0.30438067756271903 0.39667669719535742
		-0.065449845698684297 0.2499999608105774 0.43301272333046642
		0.065449845698684103 0.2499999608105774 0.43301272333046642
		0.065449845698684103 0.19134167556160969 0.46193978196798885
		-0.065449845698684297 0.19134167556160969 0.46193978196798885
		-0.065449845698684311 0.12940948130538221 0.48296292313140271
		0.065449845698684089 0.12940948130538221 0.48296292313140271
		0.065449845698684089 0.065263055020366667 0.49572243505894092
		-0.065449845698684311 0.065263055020366667 0.49572243505894092
		-0.065449845698684311 -4.0192343342404513e-008 0.49999999897135583
		0.065449845698684089 -4.0192343342404513e-008 0.49999999897135583
		0.065449845698684089 -0.065263134717350235 0.49572242456663429
		-0.065449845698684311 -0.065263134717350235 0.49572242456663429
		-0.065449845698684311 -0.12940955895102624 0.48296290232631556
		0.065449845698684089 -0.12940955895102624 0.48296290232631556
		0.065449845698684103 -0.19134174982737573 0.46193975120610198
		-0.065449845698684297 -0.19134174982737573 0.46193975120610198
		-0.065449845698684297 -0.25000003042575802 0.43301268313812408
		0.065449845698684103 -0.25000003042575802 0.43301268313812408
		0.065449845698684117 -0.3043807413361781 0.39667664826026233
		-0.065449845698684284 -0.3043807413361781 0.39667664826026233
		-0.065449845698684284 -0.35355341354947767 0.35355336618234784
		0.065449845698684117 -0.35355341354947767 0.35355336618234784
		0.065449845698684131 -0.3966766890395087 0.30438068819162989
		-0.06544984569868427 -0.3966766890395087 0.30438068819162989
		-0.065449845698684256 -0.43301271663174312 0.24999997241310845
		0.065449845698684145 -0.43301271663174312 0.24999997241310851
		0.065449845698684159 -0.46193977684100807 0.19134168793923831
		-0.065449845698684242 -0.46193977684100807 0.19134168793923825
		-0.065449845698684228 -0.4829629196638886 0.1294094942463235
		0.065449845698684173 -0.4829629196638886 0.12940949424632356
		0.065263121434518886 -0.49572242631535235 0.0654498456986842
		-0.065263068303197572 -0.4957224333102237 0.0654498456986842
		-0.0654498456986842 -0.49999999897135616 -2.6794894583206416e-008
		0.0654498456986842 -0.49999999897135616 -2.6794894554140844e-008
		0.065263121434518886 -0.49572242631535235 -0.0654498456986842
		-0.065263068303197572 -0.4957224333102237 -0.0654498456986842
		-0.065449845698684173 -0.48296290579383061 -0.12940954601008492
		0.065449845698684228 -0.48296290579383061 -0.12940954601008486
		0.065449845698684242 -0.46193975633308348 -0.19134173744974783
		-0.065449845698684159 -0.46193975633308348 -0.19134173744974789
		-0.065449845698684145 -0.43301268983684804 -0.25000001882322748
		0.065449845698684256 -0.43301268983684804 -0.25000001882322748
		0.06544984569868427 -0.39667665641611183 -0.30438073070726818
		-0.065449845698684131 -0.39667665641611183 -0.30438073070726818
		-0.065449845698684117 -0.35355337565577383 -0.3535534040760514
		0.065449845698684284 -0.35355337565577383 -0.3535534040760514
		0.065449845698684284 -0.30438069882053975 -0.39667668088365898
		-0.065449845698684117 -0.30438069882053975 -0.39667668088365898
		-0.065449845698684103 -0.24999998401563839 -0.43301270993301905
		0.065449845698684297 -0.24999998401563839 -0.43301270993301905
		0.065449845698684297 -0.19134170031686581 -0.4619397717140265
		-0.065449845698684103 -0.19134170031686581 -0.4619397717140265
		-0.065449845698684089 -0.12940950718726396 -0.48296291619637377
		0.065449845698684311 -0.12940950718726396 -0.48296291619637377
		0.065449845698684311 -0.065263081586028004 -0.49572243156150547
		-0.065449845698684089 -0.065263081586028004 -0.49572243156150547
		-0.065449845698684089 1.3397447318208577e-008 -0.49999999897135589
		0.065449845698684311 1.3397447318208577e-008 -0.49999999897135589
		0.065449845698684311 0.065263108151688565 -0.49572242806406996
		-0.065449845698684089 0.065263108151688565 -0.49572242806406996
		-0.065449845698684089 0.12940953306914471 -0.48296290926134483
		0.065449845698684311 0.12940953306914471 -0.48296290926134483
		0.065449845698684297 0.19134172507212055 -0.46193976146006416
		-0.065449845698684103 0.19134172507212055 -0.46193976146006416
		-0.065449845698684103 0.25000000722069793 -0.43301269653557145
		0.065449845698684297 0.25000000722069793 -0.43301269653557145
		0.065449845698684284 0.30438072007835892 -0.39667666457196049
		-0.065449845698684117 0.30438072007835892 -0.39667666457196049
		-0.065449845698684117 0.35355339460262558 -0.35355338512919943
		0.065449845698684284 0.35355339460262558 -0.35355338512919943
		0.06544984569868427 0.39667667272781004 -0.30438070944944901
		-0.065449845698684131 0.39667667272781004 -0.30438070944944901
		-0.065449845698684145 0.43301270323429553 -0.24999999561816783
		0.065449845698684256 0.43301270323429553 -0.24999999561816777
		0.065449845698684242 0.46193976658704572 -0.19134171269449268
		-0.065449845698684159 0.46193976658704572 -0.19134171269449274
		-0.065449845698684173 0.48296291272885955 -0.12940952012820398
		0.065449845698684228 0.48296291272885955 -0.12940952012820392
		0.065263094868857896 0.49572242981278802 -0.0654498456986842
		-0.065449845698684186 0.49572242981278802 -0.06526309486885791
		-0.0654498456986842 0.49999999897135616 3.9238519852535202e-016
		0 0.5 0
		-4.0691798365592063e-016 0.49999999897135616 -0.0654498456986842
		0.065263094868857896 0.49572242981278802 -0.0654498456986842
		0.065263094868857896 0.49572242981278802 0.0654498456986842
		0.12940952012820395 0.48296291272885955 0.0654498456986842
		0.12940952012820395 0.48296291272885955 -0.0654498456986842
		0.19134171269449271 0.46193976658704572 -0.0654498456986842
		0.19134171269449271 0.46193976658704572 0.0654498456986842
		0.2499999956181678 0.43301270323429553 0.0654498456986842
		0.2499999956181678 0.43301270323429553 -0.0654498456986842
		0.30438070944944901 0.39667667272781004 -0.0654498456986842
		0.30438070944944901 0.39667667272781004 0.0654498456986842
		0.35355338512919943 0.35355339460262558 0.0654498456986842
		0.35355338512919943 0.35355339460262558 -0.0654498456986842
		0.39667666457196049 0.30438072007835892 -0.0654498456986842
		0.39667666457196049 0.30438072007835892 0.0654498456986842
		0.43301269653557145 0.25000000722069793 0.0654498456986842
		0.43301269653557145 0.25000000722069793 -0.0654498456986842
		0.46193976146006416 0.19134172507212055 -0.0654498456986842
		0.46193976146006416 0.19134172507212055 0.0654498456986842
		0.48296290926134483 0.12940953306914471 0.0654498456986842
		0.48296290926134483 0.12940953306914471 -0.0654498456986842
		0.49572242806406996 0.065263108151688565 -0.0654498456986842
		0.49572242806406996 0.065263108151688565 0.0654498456986842
		0.49999999897135589 1.3397447318208577e-008 0.0654498456986842
		0.49999999897135589 -6.5449845695709367e-014 1.3397447318208577e-008
		0.49572243156150547 6.5435354383517238e-014 -0.065263081586028004
		0.48296291619637377 -6.5478580381581126e-014 -0.12940950718726396
		0.4619397717140265 6.5407359306431654e-014 -0.19134170031686581
		0.43301270993301905 -6.5505356846366208e-014 -0.24999998401563839
		0.39667668088365898 6.5382259606667785e-014 -0.30438069882053975
		0.3535534040760514 -6.5528350318301595e-014 -0.35355337565577383
		0.30438073070726818 6.5361765787227297e-014 -0.39667665641611183
		0.25000001882322748 -6.5545993830326543e-014 -0.43301268983684804
		0.19134173744974786 6.5347274467990046e-014 -0.46193975633308348
		0.12940954601008489 -6.5557085006294632e-014 -0.48296290579383061
		0.065263121434518886 6.5339773208380523e-014 -0.49572242631535235
		2.679489456867363e-008 -6.5560868000918305e-014 -0.49999999897135616
		-0.065263068303197572 6.533977320682735e-014 -0.4957224333102237
		-0.12940949424632353 -6.5557085009374395e-014 -0.4829629196638886
		-0.19134168793923828 6.5347274463436375e-014 -0.46193977684100807
		-0.24999997241310848 -6.5545993836276208e-014 -0.43301271663174312
		-0.30438068819162989 6.5361765779983446e-014 -0.3966766890395087
		-0.35355336618234784 -6.5528350326715686e-014 -0.35355341354947767
		-0.39667664826026233 6.5382259597227417e-014 -0.3043807413361781
		-0.43301268313812408 -6.5505356856671332e-014 -0.25000003042575802
		-0.46193975120610198 6.5407359295438113e-014 -0.19134174982737573
		-0.48296290232631556 -6.5478580393074993e-014 -0.12940955895102624
		-0.49572242456663429 6.5435354371719715e-014 -0.065263134717350235
		-0.49999999897135583 -6.5449845707608684e-014 -4.0192343342404513e-008
		-0.49572243505894092 6.5464337007952388e-014 0.065263055020366667
		-0.48296292313140271 -6.5421111021534182e-014 0.12940948130538221
		-0.46193978196798885 6.5492332085439963e-014 0.19134167556160969
		-0.43301272333046642 -6.539433455615474e-014 0.2499999608105774
		-0.39667669719535742 6.5517431785980424e-014 0.30438067756271903
		-0.3535534230229036 -6.5371341083273844e-014 0.35355335670892007
		-0.30438075196508796 6.5537925606519171e-014 0.39667664010441134
		-0.25000004202828746 -6.5353697570016669e-014 0.43301267643939889
		-0.19134176220500287 6.5552416927101499e-014 0.46193974607911931
		-0.129409571891967 -6.5342606392613637e-014 0.48296289885879934
		-0.065263148000180599 6.5559918188211284e-014 0.49572242281791473
		-4.0691798365592063e-016 -6.5338823396450081e-014 0.49999999897135616
		0.065263094868857896 6.5559918189764456e-014 0.49572242981278802
		0.12940952012820395 -6.5342606389533873e-014 0.48296291272885955
		0.19134171269449271 6.5552416931655183e-014 0.46193976658704572
		0.2499999956181678 -6.5353697564067017e-014 0.43301270323429553
		0.30438070944944901 6.5537925613763021e-014 0.39667667272781004
		0.35355338512919943 -6.5371341074859752e-014 0.35355339460262558
		0.39667666457196049 6.5517431795420792e-014 0.30438072007835892
		0.43301269653557145 -6.5394334545849617e-014 0.25000000722069793
		0.46193976146006416 6.5492332096433503e-014 0.19134172507212055
		0.48296290926134483 -6.5421111010040327e-014 0.12940953306914471
		0.49572242806406996 6.546433701974991e-014 0.065263108151688565
		0.49999999897135589 -6.5449845695709367e-014 1.3397447318208577e-008
		0.49999999897135589 1.3397447318208577e-008 -0.0654498456986842
		0.49572243156150547 -0.065263081586028004 -0.0654498456986842
		0.49572243156150547 -0.065263081586028004 0.0654498456986842
		0.48296291619637377 -0.12940950718726396 0.0654498456986842
		0.48296291619637377 -0.12940950718726396 -0.0654498456986842
		0.4619397717140265 -0.19134170031686581 -0.0654498456986842
		0.4619397717140265 -0.19134170031686581 0.0654498456986842
		0.43301270993301905 -0.24999998401563839 0.0654498456986842
		0.43301270993301905 -0.24999998401563839 -0.0654498456986842
		0.39667668088365898 -0.30438069882053975 -0.0654498456986842
		0.39667668088365898 -0.30438069882053975 0.0654498456986842
		0.3535534040760514 -0.35355337565577383 0.0654498456986842
		0.3535534040760514 -0.35355337565577383 -0.0654498456986842
		0.30438073070726818 -0.39667665641611183 -0.0654498456986842
		0.30438073070726818 -0.39667665641611183 0.0654498456986842
		0.25000001882322748 -0.43301268983684804 0.0654498456986842
		0.25000001882322748 -0.43301268983684804 -0.0654498456986842
		0.19134173744974786 -0.46193975633308348 -0.0654498456986842
		0.19134173744974786 -0.46193975633308348 0.0654498456986842
		0.12940954601008489 -0.48296290579383061 0.0654498456986842
		0.12940954601008489 -0.48296290579383061 -0.0654498456986842
		0.065449845698684214 -0.49572242631535235 -0.065263121434518873
		0.065263121434518886 -0.49572242631535235 0.0654498456986842
		2.679489456867363e-008 -0.49999999897135616 0.0654498456986842
		2.679489456867363e-008 -0.49999999897135616 -0.0654498456986842
		-0.065263068303197572 -0.4957224333102237 -0.0654498456986842
		-0.065263068303197572 -0.4957224333102237 0.0654498456986842
		-0.12940949424632353 -0.4829629196638886 0.0654498456986842
		-0.12940949424632353 -0.4829629196638886 -0.0654498456986842
		-0.19134168793923828 -0.46193977684100807 -0.0654498456986842
		-0.19134168793923828 -0.46193977684100807 0.0654498456986842
		-0.24999997241310848 -0.43301271663174312 0.0654498456986842
		-0.24999997241310848 -0.43301271663174312 -0.0654498456986842
		-0.30438068819162989 -0.3966766890395087 -0.0654498456986842
		-0.30438068819162989 -0.3966766890395087 0.0654498456986842
		-0.35355336618234784 -0.35355341354947767 0.0654498456986842
		-0.35355336618234784 -0.35355341354947767 -0.0654498456986842
		-0.39667664826026233 -0.3043807413361781 -0.0654498456986842
		-0.39667664826026233 -0.3043807413361781 0.0654498456986842
		-0.43301268313812408 -0.25000003042575802 0.0654498456986842
		-0.43301268313812408 -0.25000003042575802 -0.0654498456986842
		-0.46193975120610198 -0.19134174982737573 -0.0654498456986842
		-0.46193975120610198 -0.19134174982737573 0.0654498456986842
		-0.48296290232631556 -0.12940955895102624 0.0654498456986842
		-0.48296290232631556 -0.12940955895102624 -0.0654498456986842
		-0.49572242456663429 -0.065263134717350235 -0.0654498456986842
		-0.49572242456663429 -0.065263134717350235 0.0654498456986842
		-0.49999999897135583 -4.0192343342404513e-008 0.0654498456986842
		-0.49999999897135583 -4.0192343342404513e-008 -0.0654498456986842
		-0.49572243505894092 0.065263055020366667 -0.0654498456986842
		-0.49572243505894092 0.065263055020366667 0.0654498456986842
		-0.48296292313140271 0.12940948130538221 0.0654498456986842
		-0.48296292313140271 0.12940948130538221 -0.0654498456986842
		-0.46193978196798885 0.19134167556160969 -0.0654498456986842
		-0.46193978196798885 0.19134167556160969 0.0654498456986842
		-0.43301272333046642 0.2499999608105774 0.0654498456986842
		-0.43301272333046642 0.2499999608105774 -0.0654498456986842
		-0.39667669719535742 0.30438067756271903 -0.0654498456986842
		-0.39667669719535742 0.30438067756271903 0.0654498456986842
		-0.3535534230229036 0.35355335670892007 0.0654498456986842
		-0.3535534230229036 0.35355335670892007 -0.0654498456986842
		-0.30438075196508796 0.39667664010441134 -0.0654498456986842
		-0.30438075196508796 0.39667664010441134 0.0654498456986842
		-0.25000004202828746 0.43301267643939889 0.0654498456986842
		-0.25000004202828746 0.43301267643939889 -0.0654498456986842
		-0.19134176220500287 0.46193974607911931 -0.0654498456986842
		-0.19134176220500287 0.46193974607911931 0.0654498456986842
		-0.129409571891967 0.48296289885879934 0.0654498456986842
		-0.129409571891967 0.48296289885879934 -0.0654498456986842
		-0.065263148000180599 0.49572242281791473 -0.0654498456986842
		-0.065263148000180599 0.49572242281791473 0.0654498456986842
		-4.0691798365592063e-016 0.49999999897135616 0.0654498456986842
		0 0.5 0
		;'''
        mel.eval( code )
    elif shapeName == "proxy_direct":
        code = '''setAttr ".cc" -type "nurbsCurve" 
			1 6 0 no 3
			7 0 1 2 3 4 5 6
			7
			0 0 0
			0.018019188374303653 0.40863890686290399 4.0010635636419717e-018
			0.086486510125605362 0.33033240755071325 1.9203862972184762e-017
			0 0.52851815063688401 0
			-0.086486510125605362 0.33033240755071325 -1.9203862972184762e-017
			-0.018019188374303653 0.40863890686290399 -4.0010635636419717e-018
			0 0 0
			;'''
        mel.eval( code )
    elif shapeName == "Y00_proxy_limb_ankle":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 17 0 no 3
		18 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
		18
		0 0.64299981336324163 0.42462473292103242
		0 0.56658008195311194 0.62223601209267976
		0 0.44313354731370985 0.80979041679890085
		0 0.25188120880105036 0.9509832699889893
		0 0 1
		0 -0.23565895843035839 0.97272057298798875
		0 -0.38402226639824966 0.86380759349689662
		0 -0.52893677081879997 1.0559380322741443
		0 -0.62467946583023326 0.56809444892739702
		0 -0.15225272534129208 0.53251548279279282
		0 -0.28258896440615233 0.71868552130023067
		0 -0.14960883948231063 0.81205937694595209
		0 4.3839959715236938e-019 0.83320723270192898
		0 0.18114506485739168 0.79614805202931505
		0 0.31670071376802983 0.69042464434709405
		0 0.4108435721353379 0.54299592131018681
		0 0.47620174353801226 0.36211669949833464
		0 0.64299981336324163 0.42462473292103242
		;'''
        mel.eval( code )
    elif shapeName == "Y01_proxy_limb_upLimb":
        code = '''setAttr ".cc" -type "nurbsCurve"
        1 6 0 no 3
        7 0 1 2 3 4 5 6
        7
        0 0 0
        0.16281887591837382 2.8894536109121263 -3.6153052977633151e-017
        0.62412276061641203 2.2834326790004358 -1.3858309180579122e-016
        0 3.8729677830939573 0
        -0.62412276061641314 2.2834326790004358 1.3858309180579122e-016
        -0.1628188759183751 2.8894536109121263 3.6153052977633151e-017
        0 0 0;'''
        mel.eval( code )
    elif shapeName == "Z00_fiveStar":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 5 0 no 3
		6 0 1 2 3 4 5
		6
		5.5511151231257827e-017 0.15457447066000851 0.47552827000617981
		5.5511151231257827e-017 0.15457454516581448 -0.47552827000617981
		-1.1102230246251565e-016 -0.40444259152718631 0.29389259219169617
		-9.3132246359317605e-010 0.50006596936873349 0
		-1.1102230246251565e-016 -0.40444259152718631 -0.29389268159866333
		5.5511151231257827e-017 0.15457447066000851 0.47552827000617981
		;'''
        mel.eval( code )
    elif shapeName == "Z01_special":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		1 57 2 no 3
		58 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
		 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
		 55 56 57
		58
		-7.762643530735286e-017 0.50010083602166944 -2.3209785204869604e-008
		0.035108929476128301 0.48756226873874997 -0.11128288409228881
		-6.2553103433173896e-017 0.45057529269922281 -0.21698560274493772
		-0.035108929476128425 0.39099458938044407 -0.311807756902859
		-5.0465226980393314e-017 0.311807784122065 -0.39099456767385377
		0.035108929476128314 0.21698563411187166 -0.45057527759370597
		-4.375696142273249e-017 0.11128291803408263 -0.48756226099176025
		-0.035108929476128412 1.1604889493810333e-008 -0.5001008360216761
		-4.3756961063959284e-017 -0.11128289540622127 -0.48756226615641873
		0.035108929476128314 -0.21698561320058385 -0.45057528766405364
		-5.0465225975132468e-017 -0.31180776597593063 -0.390994582144915
		-0.035108929476128425 -0.39099457490938505 -0.3118077750490027
		-6.2553101980529741e-017 -0.45057528262888003 -0.21698562365622909
		0.035108929476128301 -0.48756226357409105 -0.11128290672015373
		-7.762643691966627e-017 -0.50010083602167477 -2.2204460492503131e-015
		-0.035108929476128453 -0.48756226357409105 0.11128290672015062
		-9.2699771858802873e-017 -0.45057528262888003 0.21698562365622553
		0.035108929476128273 -0.39099457490938505 0.31180777504899604
		-1.0478764786420029e-016 -0.31180776597592974 0.39099458214491367
		-0.035108929476128481 -0.21698561320058296 0.4505752876640492
		-1.1149591277537363e-016 -0.11128289540622127 0.48756226615641962
		0.035108929476128259 1.1604889493810333e-008 0.50010083602167077
		-1.1149591241660006e-016 0.11128291803408352 0.48756226099175537
		-0.035108929476128481 0.21698563411187166 0.45057527759370286
		-1.0478764685893924e-016 0.31180778412206589 0.39099456767384932
		0.035108929476128273 0.39099458938044496 0.31180775690285634
		-9.2699770406158632e-017 0.4505752926992237 0.21698560274493284
		-0.035108929476128453 0.48756226873874997 0.11128288409228437
		-7.762643530735286e-017 0.50010083602166944 -2.3209785204869604e-008
		-0.035108929476128439 0.48756226873874997 -0.11128288409228881
		-6.2553103433173896e-017 0.45057529269922281 -0.21698560274493772
		0.035108929476128301 0.39099458938044407 -0.311807756902859
		-5.0465226980393314e-017 0.311807784122065 -0.39099456767385377
		-0.035108929476128425 0.21698563411187166 -0.45057527759370597
		-4.375696142273249e-017 0.11128291803408263 -0.48756226099176025
		0.035108929476128314 1.1604889493810333e-008 -0.5001008360216761
		-4.3756961063959284e-017 -0.11128289540622127 -0.48756226615641873
		-0.035108929476128425 -0.21698561320058385 -0.45057528766405364
		-5.0465225975132468e-017 -0.31180776597593063 -0.390994582144915
		0.035108929476128314 -0.39099457490938505 -0.3118077750490027
		-6.2553101980529741e-017 -0.45057528262888003 -0.21698562365622909
		-0.035108929476128439 -0.48756226357409105 -0.11128290672015373
		-7.762643691966627e-017 -0.50010083602167477 -2.2204460492503131e-015
		0.035108929476128287 -0.48756226357409105 0.11128290672015062
		-9.2699771858802873e-017 -0.45057528262888003 0.21698562365622553
		-0.035108929476128467 -0.39099457490938505 0.31180777504899604
		-1.0478764786420029e-016 -0.31180776597592974 0.39099458214491367
		0.035108929476128259 -0.21698561320058296 0.4505752876640492
		-1.1149591277537363e-016 -0.11128289540622127 0.48756226615641962
		-0.035108929476128481 1.1604889493810333e-008 0.50010083602167077
		-1.1149591241660006e-016 0.11128291803408352 0.48756226099175537
		0.035108929476128259 0.21698563411187166 0.45057527759370286
		-1.0478764685893924e-016 0.31180778412206589 0.39099456767384932
		-0.035108929476128467 0.39099458938044496 0.31180775690285634
		-9.2699770406158632e-017 0.4505752926992237 0.21698560274493284
		0.035108929476128287 0.48756226873874997 0.11128288409228437
		-7.762643530735286e-017 0.50010083602166944 -2.3209785204869604e-008
		-7.762643530735286e-017 0.50010083602166944 -2.3209785204869604e-008
		;'''
        mel.eval( code )
    elif shapeName == "Z02_special":
        code = '''setAttr -s 11 ".iog[0].og";
	setAttr ".iog[0].og[0].gcl" -type "componentList" 1 "cv[34:40]";
	setAttr ".iog[0].og[1].gcl" -type "componentList" 1 "cv[*]";
	setAttr ".iog[0].og[2].gcl" -type "componentList" 2 "cv[0:4]" "cv[46:47]";
	setAttr ".iog[0].og[3].gcl" -type "componentList" 1 "cv[10:16]";
	setAttr ".iog[0].og[4].gcl" -type "componentList" 1 "cv[22:28]";
	setAttr ".iog[0].og[5].gcl" -type "componentList" 2 "cv[41]" "cv[45]";
	setAttr ".iog[0].og[6].gcl" -type "componentList" 2 "cv[29]" "cv[33]";
	setAttr ".iog[0].og[7].gcl" -type "componentList" 2 "cv[17]" "cv[21]";
	setAttr ".iog[0].og[8].gcl" -type "componentList" 2 "cv[5]" "cv[9]";
	setAttr ".iog[0].og[9].gcl" -type "componentList" 4 "cv[1]" "cv[13]" "cv[25]" "cv[37]";
	setAttr ".iog[0].og[10].gcl" -type "componentList" 4 "cv[6:8]" "cv[18:20]" "cv[30:32]" "cv[42:44]";
	setAttr ".cc" -type "nurbsCurve" 
		3 48 2 no 3
		53 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
		 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
		51
		7.9373961481049246e-017 0.44270802564738126 -0.06861172093926457
		1.113932875138181e-016 0.52960255106844989 0
		1.0984368641942025e-016 0.44270802564738126 0.06861172093926457
		1.0984368641942025e-016 0.44270802564738126 0.06861172093926457
		1.0984368641942027e-016 0.44270802564738126 0.06861172093926457
		9.4608823950234727e-017 0.21942105664514394 0.20665920764309409
		4.4386765147821954e-017 0.099950109489956362 0.099950109489956293
		4.4386765147821954e-017 0.099950109489956293 0.099950109489956362
		4.4386765147821972e-017 0.099950109489956293 0.099950109489956362
		9.4608823950234727e-017 0.20665920764309409 0.21942105664514394
		1.0984368641942027e-016 0.06861172093926457 0.44270802564738126
		1.0984368641942025e-016 0.06861172093926457 0.44270802564738126
		1.0984368641942025e-016 0.06861172093926457 0.44270802564738126
		1.1139328751381808e-016 -3.5152455979685302e-017 0.52960255106844978
		7.9373961481049246e-017 -0.06861172093926457 0.44270802564738126
		7.9373961481049246e-017 -0.06861172093926457 0.44270802564738126
		7.9373961481049246e-017 -0.06861172093926457 0.44270802564738126
		2.833699719773066e-018 -0.20665920764309409 0.21942105664514394
		0 -0.099950109489956293 0.099950109489956529
		0 -0.099950109489956293 0.099950109489956362
		0 -0.099950109489956362 0.099950109489956293
		-2.8336997197730591e-018 -0.21942105664514394 0.20665920764309409
		-7.9373961481049246e-017 -0.44270802564738126 0.06861172093926457
		-7.9373961481049246e-017 -0.44270802564738126 0.06861172093926457
		-7.9373961481049246e-017 -0.44270802564738126 0.06861172093926457
		-1.113932875138181e-016 -0.52960255106844978 0
		-1.0984368641942025e-016 -0.44270802564738126 -0.06861172093926457
		-1.0984368641942025e-016 -0.44270802564738126 -0.06861172093926457
		-1.0984368641942025e-016 -0.44270802564738126 -0.06861172093926457
		-9.4608823950234727e-017 -0.21942105664514394 -0.20665920764309409
		-4.4386765147821966e-017 -0.099950109489956362 -0.099950109489956293
		-4.4386765147821972e-017 -0.099950109489956293 -0.099950109489956293
		-4.4386765147821935e-017 -0.099950109489956293 -0.099950109489956529
		-9.460882395023474e-017 -0.20665920764309409 -0.21942105664514394
		-1.0984368641942022e-016 -0.06861172093926457 -0.44270802564738126
		-1.0984368641942025e-016 -0.06861172093926457 -0.44270802564738126
		-1.0984368641942025e-016 -0.06861172093926457 -0.44270802564738126
		-1.1139328751381805e-016 -3.5152455979685289e-017 -0.52960255106844978
		-7.9373961481049246e-017 0.06861172093926457 -0.44270802564738126
		-7.9373961481049246e-017 0.06861172093926457 -0.44270802564738126
		-7.9373961481049246e-017 0.06861172093926457 -0.44270802564738126
		-2.8336997197730429e-018 0.20665920764309409 -0.21942105664514394
		0 0.099950109489956293 -0.099950109489956362
		0 0.099950109489956293 -0.099950109489956293
		0 0.099950109489956362 -0.099950109489956293
		2.8336997197730783e-018 0.21942105664514394 -0.20665920764309409
		7.9373961481049246e-017 0.44270802564738126 -0.06861172093926457
		7.9373961481049246e-017 0.44270802564738126 -0.06861172093926457
		7.9373961481049246e-017 0.44270802564738126 -0.06861172093926457
		1.113932875138181e-016 0.52960255106844989 0
		1.0984368641942025e-016 0.44270802564738126 0.06861172093926457
		;'''
        mel.eval( code )
    elif shapeName == "Z03_special":
        code = '''setAttr -s 9 ".iog[0].og";
	setAttr ".iog[0].og[0].gcl" -type "componentList" 1 "cv[34:40]";
	setAttr ".iog[0].og[1].gcl" -type "componentList" 1 "cv[*]";
	setAttr ".iog[0].og[2].gcl" -type "componentList" 2 "cv[0:4]" "cv[46:47]";
	setAttr ".iog[0].og[3].gcl" -type "componentList" 1 "cv[10:16]";
	setAttr ".iog[0].og[4].gcl" -type "componentList" 1 "cv[22:28]";
	setAttr ".iog[0].og[5].gcl" -type "componentList" 2 "cv[41]" "cv[45]";
	setAttr ".iog[0].og[6].gcl" -type "componentList" 2 "cv[29]" "cv[33]";
	setAttr ".iog[0].og[7].gcl" -type "componentList" 2 "cv[17]" "cv[21]";
	setAttr ".iog[0].og[8].gcl" -type "componentList" 2 "cv[5]" "cv[9]";
	setAttr ".cc" -type "nurbsCurve" 
		3 48 2 no 3
		53 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
		 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
		51
		3.7973296968110623e-017 0.42056080847759897 -0.27871758502658478
		5.302123946358799e-017 0.22669105378468196 0
		1.6174876907388429e-016 0.42056080847759897 0.27871758502658478
		1.6174876907388429e-016 0.42056080847759897 0.27871758502658478
		1.6174876907388434e-016 0.42056080847759897 0.27871758502658478
		9.9861033020997499e-017 0.23160221708990514 0.21813189401229202
		4.1631638162135225e-017 0.093746115056907789 0.093746115056907733
		4.1631638162135225e-017 0.093746115056907733 0.093746115056907789
		4.1631638162135244e-017 0.093746115056907733 0.093746115056907789
		9.9861033020997499e-017 0.21813189401229202 0.23160221708990514
		1.6174876907388434e-016 0.27871758502658478 0.42056080847759902
		1.6174876907388429e-016 0.27871758502658478 0.42056080847759902
		1.6174876907388429e-016 0.27871758502658478 0.42056080847759902
		5.3021239463587916e-017 -1.0650017671659925e-016 0.22669105378468213
		3.7973296968110623e-017 -0.27871758502658478 0.42056080847759902
		3.7973296968110647e-017 -0.27871758502658478 0.42056080847759902
		3.7973296968110647e-017 -0.27871758502658478 0.42056080847759902
		2.9910125659811398e-018 -0.21813189401229202 0.23160221708990514
		0 -0.093746115056907733 0.093746115056907969
		0 -0.093746115056907733 0.093746115056907789
		0 -0.093746115056907789 0.093746115056907733
		-2.9910125659811321e-018 -0.23160221708990514 0.21813189401229202
		-3.7973296968110635e-017 -0.42056080847759902 0.27871758502658478
		-3.7973296968110635e-017 -0.42056080847759902 0.27871758502658478
		-3.7973296968110635e-017 -0.42056080847759902 0.27871758502658478
		-5.3021239463588027e-017 -0.22669105378468213 0
		-1.6174876907388431e-016 -0.42056080847759902 -0.27871758502658478
		-1.6174876907388431e-016 -0.42056080847759902 -0.27871758502658478
		-1.6174876907388431e-016 -0.42056080847759902 -0.27871758502658478
		-9.9861033020997499e-017 -0.23160221708990514 -0.21813189401229202
		-4.1631638162135238e-017 -0.093746115056907789 -0.093746115056907733
		-4.1631638162135244e-017 -0.093746115056907733 -0.093746115056907733
		-4.1631638162135213e-017 -0.093746115056907733 -0.093746115056907969
		-9.9861033020997511e-017 -0.21813189401229202 -0.23160221708990514
		-1.6174876907388426e-016 -0.27871758502658478 -0.42056080847759902
		-1.6174876907388431e-016 -0.27871758502658478 -0.42056080847759902
		-1.6174876907388431e-016 -0.27871758502658478 -0.42056080847759902
		-5.3021239463587849e-017 -1.0650017671659921e-016 -0.22669105378468213
		-3.797329696811066e-017 0.27871758502658478 -0.42056080847759902
		-3.797329696811066e-017 0.27871758502658478 -0.42056080847759902
		-3.7973296968110635e-017 0.27871758502658478 -0.42056080847759902
		-2.9910125659811151e-018 0.21813189401229202 -0.23160221708990514
		0 0.093746115056907733 -0.093746115056907789
		0 0.093746115056907733 -0.093746115056907733
		0 0.093746115056907789 -0.093746115056907733
		2.9910125659811525e-018 0.23160221708990514 -0.21813189401229202
		3.7973296968110623e-017 0.42056080847759897 -0.27871758502658478
		3.7973296968110623e-017 0.42056080847759897 -0.27871758502658478
		3.7973296968110623e-017 0.42056080847759897 -0.27871758502658478
		5.302123946358799e-017 0.22669105378468196 0
		1.6174876907388429e-016 0.42056080847759897 0.27871758502658478
		;'''
        mel.eval( code )
    elif shapeName == "Z04_special":
        code = '''setAttr -s 5 ".iog[0].og";
	setAttr ".iog[0].og[0].gcl" -type "componentList" 1 "cv[34:40]";
	setAttr ".iog[0].og[1].gcl" -type "componentList" 1 "cv[*]";
	setAttr ".iog[0].og[2].gcl" -type "componentList" 2 "cv[0:4]" "cv[46:47]";
	setAttr ".iog[0].og[3].gcl" -type "componentList" 1 "cv[10:16]";
	setAttr ".iog[0].og[4].gcl" -type "componentList" 1 "cv[22:28]";
	setAttr ".cc" -type "nurbsCurve" 
		3 48 2 no 3
		53 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
		 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
		51
		2.7453059201761999e-017 0.29847380455885991 -0.19493601933997809
		1.3995722351626115e-016 0.5991736988426174 0
		1.1402204200176941e-016 0.29847380455885991 0.19493601933997809
		1.1402204200176941e-016 0.29847380455885991 0.19493601933997809
		1.1402204200176941e-016 0.29847380455885991 0.19493601933997809
		7.0737550601765681e-017 0.21238240435414238 0.10619120217707119
		4.7158367067843794e-017 0.10619120217707116 0.10619120217707119
		4.7158367067843794e-017 0.10619120217707119 0.10619120217707119
		4.7158367067843806e-017 0.10619120217707119 0.10619120217707116
		7.0737550601765681e-017 0.10619120217707119 0.21238240435414238
		1.1402204200176941e-016 0.19493601933997809 0.29847380455885997
		1.1402204200176941e-016 0.19493601933997809 0.29847380455885997
		1.1402204200176941e-016 0.19493601933997809 0.29847380455885997
		1.3995722351626112e-016 -4.8970224235898924e-017 0.59917369884261751
		2.7453059201761999e-017 -0.19493601933997809 0.29847380455885997
		2.7453059201762015e-017 -0.19493601933997809 0.29847380455885997
		2.7453059201762015e-017 -0.19493601933997809 0.29847380455885997
		2.3579183533921897e-017 -0.10619120217707119 0.21238240435414238
		0 -0.10619120217707119 0.10619120217707122
		0 -0.10619120217707119 0.10619120217707119
		0 -0.10619120217707116 0.10619120217707119
		-2.3579183533921891e-017 -0.21238240435414238 0.10619120217707119
		-2.7453059201761978e-017 -0.29847380455885997 0.19493601933997809
		-2.7453059201761978e-017 -0.29847380455885997 0.19493601933997809
		-2.7453059201761978e-017 -0.29847380455885997 0.19493601933997809
		-1.3995722351626122e-016 -0.59917369884261751 0
		-1.1402204200176938e-016 -0.29847380455885997 -0.19493601933997809
		-1.1402204200176938e-016 -0.29847380455885997 -0.19493601933997809
		-1.1402204200176938e-016 -0.29847380455885997 -0.19493601933997809
		-7.0737550601765681e-017 -0.21238240435414238 -0.10619120217707119
		-4.7158367067843794e-017 -0.10619120217707116 -0.10619120217707119
		-4.7158367067843781e-017 -0.10619120217707119 -0.10619120217707119
		-4.7158367067843794e-017 -0.10619120217707119 -0.10619120217707122
		-7.0737550601765693e-017 -0.10619120217707119 -0.21238240435414238
		-1.1402204200176934e-016 -0.19493601933997809 -0.29847380455885997
		-1.1402204200176938e-016 -0.19493601933997809 -0.29847380455885997
		-1.1402204200176938e-016 -0.19493601933997809 -0.29847380455885997
		-1.3995722351626107e-016 -4.8970224235899017e-017 -0.59917369884261751
		-2.7453059201761999e-017 0.19493601933997809 -0.29847380455885997
		-2.7453059201761999e-017 0.19493601933997809 -0.29847380455885997
		-2.7453059201761978e-017 0.19493601933997809 -0.29847380455885997
		-2.3579183533921903e-017 0.10619120217707119 -0.21238240435414238
		0 0.10619120217707119 -0.10619120217707116
		0 0.10619120217707119 -0.10619120217707119
		0 0.10619120217707116 -0.10619120217707119
		2.3579183533921897e-017 0.21238240435414238 -0.10619120217707119
		2.7453059201761999e-017 0.29847380455885991 -0.19493601933997809
		2.7453059201761999e-017 0.29847380455885991 -0.19493601933997809
		2.7453059201761999e-017 0.29847380455885991 -0.19493601933997809
		1.3995722351626115e-016 0.5991736988426174 0
		1.1402204200176941e-016 0.29847380455885991 0.19493601933997809
		;'''
        mel.eval( code )
    elif shapeName == "Z05_special":
        code = '''setAttr ".cc" -type "nurbsCurve" 
		3 48 2 no 3
		53 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
		 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
		51
		3.99649151734736e-018 0.49575709340027596 -0.065267659542814674
		9.7692898058260234e-017 0.4399696992919247 0
		-3.99649151734734e-018 0.4957570934002774 0.065267659542814355
		-7.9246019567960904e-018 0.48299668366608289 0.12941857133523732
		-1.1717120259649308e-017 0.46197206676238212 0.19135509549050753
		-1.5309155386260467e-017 0.43304297971352235 0.2500174809082798
		-1.8639246619712938e-017 0.39670440721956757 0.30440199790976968
		-2.1650415175726665e-017 0.35357811233084552 0.35357811233084552
		-2.4291139125454577e-017 0.30440199790976974 0.39670440721956757
		-2.6516234949969853e-017 0.25001748090827963 0.43304297971352212
		-2.8287630642801923e-017 0.19135509549050758 0.46197206676238189
		-2.9575017132522738e-017 0.12941857133523732 0.48299668366608267
		-3.0356366879362243e-017 0.06526765954281441 0.49575709340027707
		9.769289805826021e-017 -2.4583321973146062e-032 0.43996969929192464
		-3.0356366879362243e-017 -0.065267659542814271 0.49575709340027707
		-2.9575017132522738e-017 -0.12941857133523721 0.48299668366608267
		-2.8287630642801929e-017 -0.19135509549050742 0.46197206676238201
		-2.6516234949969841e-017 -0.25001748090827958 0.43304297971352196
		-2.4291139125454583e-017 -0.30440199790976952 0.39670440721956757
		-2.1650415175726653e-017 -0.35357811233084535 0.35357811233084541
		-1.8639246619712938e-017 -0.39670440721956735 0.30440199790976974
		-1.5309155386260458e-017 -0.43304297971352201 0.25001748090827958
		-1.1717120259649312e-017 -0.46197206676238167 0.19135509549050758
		-7.9246019567960935e-018 -0.4829966836660825 0.12941857133523738
		-3.9964915173473477e-018 -0.49575709340027707 0.065267659542814493
		-9.7692898058260234e-017 -0.43996969929192464 0
		3.9964915173473307e-018 -0.49575709340027702 -0.065267659542814202
		7.9246019567960781e-018 -0.48299668366608262 -0.12941857133523713
		1.1717120259649293e-017 -0.46197206676238184 -0.19135509549050728
		1.5309155386260446e-017 -0.43304297971352201 -0.25001748090827941
		1.8639246619712919e-017 -0.39670440721956746 -0.30440199790976941
		2.1650415175726646e-017 -0.35357811233084535 -0.35357811233084518
		2.4291139125454555e-017 -0.30440199790976968 -0.39670440721956718
		2.6516234949969829e-017 -0.25001748090827958 -0.43304297971352168
		2.8287630642801892e-017 -0.19135509549050753 -0.46197206676238156
		2.9575017132522714e-017 -0.1294185713352374 -0.48299668366608223
		3.0356366879362219e-017 -0.065267659542814577 -0.49575709340027674
		-9.7692898058260247e-017 0 -0.43996969929192464
		3.0356366879362225e-017 0.065267659542814077 -0.49575709340027685
		2.9575017132522732e-017 0.12941857133523696 -0.48299668366608245
		2.8287630642801892e-017 0.19135509549050705 -0.46197206676238151
		2.6516234949969838e-017 0.25001748090827924 -0.4330429797135219
		2.4291139125454558e-017 0.30440199790976907 -0.39670440721956723
		2.1650415175726646e-017 0.35357811233084491 -0.35357811233084518
		1.8639246619712925e-017 0.39670440721956685 -0.30440199790976952
		1.5309155386260449e-017 0.4330429797135214 -0.25001748090827947
		1.1717120259649308e-017 0.46197206676238123 -0.19135509549050753
		7.9246019567960935e-018 0.48299668366608217 -0.12941857133523738
		3.99649151734736e-018 0.49575709340027596 -0.065267659542814674
		9.7692898058260234e-017 0.4399696992919247 0
		-3.99649151734734e-018 0.4957570934002774 0.065267659542814355
		;'''
        mel.eval( code )
    
    

    if ctrColor > 0:
        mc.setAttr( shapeNode + ".ove" ,1 )
        mc.setAttr( shapeNode + ".ovc", ctrColor )
    return shapeNode
    
def ctrlCreate( ctrName ):
    ctrColor = mc.palettePort( 'colorPaletteControl', q=1, scc=1 ) + 1
    if ctrColor > 24:  ctrColor -= 1
#    print "color = ", ctrColor
    operation = mc.radioCollection('ctrlmakerOption', q=1, sl=1 )
#    print "op = ", operation, '\n', rb1[rb1.rindex( '|' ) + 1:]
    if operation == 'rb1':
#        print "in rb1"
        ctr = mc.createNode( 'transform', n=ctrName )
        add = addShape( ctr, ctrName[:ctrName.index( "_Ctr" )], ctrColor )
        mc.select( mc.listRelatives( add, p=1 ) )
    elif operation == 'rb2':
#        print "in rb2"
        if len(mc.ls(sl=1)) == 0:
            mc.error( "select something u motherFucker!!!" )
        else:
            for sel in mc.ls(sl=1):
                add = addShape( sel, ctrName[:ctrName.index( "_Ctr" )], ctrColor )
            mc.select( mc.listRelatives( add, p=1 ) )
    elif operation == 'rb3':
#        print "in rb3"
        if len(mc.ls(sl=1)) == 0:
            mc.error( "select something u son of monkey's uncle!!!" )
        else:
            for sel in mc.ls(sl=1):
                selShapes = mc.listRelatives( sel, f=1, s=1 )
                for shape in selShapes:
                    mc.delete( shape )
                add = addShape( sel, ctrName[:ctrName.index( "_Ctr" )], ctrColor )
            mc.select( mc.listRelatives( add, p=1 ) )
            
def expend( num ):
    if num == 1:
        mc.window( 'ctrMakerUI', e=1, h=485 )
        mc.frameLayout( 'colorFrame', e=1, h=100 )
        
    elif num == 2:
        mc.window( 'ctrMakerUI', e=1, h=413 )
        mc.frameLayout( 'colorFrame', e=1, h=20 )

def createNode( nodeName ):
    prefixName = mc.textField( textF, q=1, tx=1 )
    if prefixName != '': prefixName += '_' 
    if nodeName == 'blendNode':
        mc.shadingNode( 'blendColors', n=prefixName + 'blendColors', au=1 )
    elif nodeName == 'conditionNode':
        mc.shadingNode( 'condition', n=prefixName + 'condition', au=1 )
    elif nodeName == 'curveInfoNode':
        mc.shadingNode( 'curveInfo', n=prefixName + 'curveInfo', au=1 )
    elif nodeName == 'disNode':
        mc.shadingNode( 'distanceBetween', n=prefixName + 'distanceBetween', au=1 )
    elif nodeName == 'mulDivNode':
        mc.shadingNode( 'multiplyDivide', n=prefixName + 'multiplyDivide', au=1 )
    elif nodeName == 'rangeNode':
        mc.shadingNode( 'setRange', n=prefixName + 'setRange', au=1 )
    elif nodeName == 'remapValueNode':
        mc.shadingNode( 'remapValue', n=prefixName + 'remapValue', au=1 )
    elif nodeName == 'reverseNode':
        mc.shadingNode( 'reverse', n=prefixName + 'reverse', au=1 )